OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_ | |
6 #define CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_ | |
7 | |
8 #include "base/compiler_specific.h" | |
9 #include "content/public/renderer/v8_value_converter.h" | |
10 #include "v8/include/v8.h" | |
11 | |
12 namespace extensions { | |
13 | |
14 class ActivityLogConverterStrategy | |
15 : public content::V8ValueConverter::Strategy { | |
not at google - send to devlin
2013/08/08 01:02:21
class-level comment? should have asked for this be
pmarch
2013/08/08 03:20:18
Done.
| |
16 public: | |
17 virtual bool FromV8Object(v8::Handle<v8::Object> value, | |
18 base::Value** out) const OVERRIDE; | |
19 virtual bool FromV8Array(v8::Handle<v8::Array> value, | |
20 base::Value** out) const OVERRIDE; | |
21 | |
22 private: | |
23 bool FromV8ObjectInternal(v8::Handle<v8::Object> value, | |
24 base::Value** out) const; | |
25 }; | |
26 | |
27 } // namespace extensions | |
28 | |
29 #endif // CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_ | |
OLD | NEW |