Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 #ifndef ADBLOCK_PLUS_UTILS_H | 1 #ifndef ADBLOCK_PLUS_UTILS_H |
2 #define ADBLOCK_PLUS_UTILS_H | 2 #define ADBLOCK_PLUS_UTILS_H |
3 | 3 |
4 #include <v8.h> | 4 #include <v8.h> |
5 | 5 |
6 namespace AdblockPlus | 6 namespace AdblockPlus |
7 { | 7 { |
8 namespace Utils | 8 namespace Utils |
9 { | 9 { |
10 std::string Slurp(std::istream& stream); | 10 std::string Slurp(std::ios& stream); |
11 std::string FromV8String(v8::Handle<v8::Value> value); | 11 std::string FromV8String(v8::Handle<v8::Value> value); |
12 v8::Local<v8::String> ToV8String(const std::string& str); | 12 v8::Local<v8::String> ToV8String(const std::string& str); |
13 } | 13 } |
14 } | 14 } |
15 | 15 |
16 #endif | 16 #endif |
LEFT | RIGHT |