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_VALUE_CONVERTER_H_ | |
6 #define CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_VALUE_CONVERTER_H_ | |
7 | |
8 #include "base/memory/scoped_ptr.h" | |
9 #include "content/public/renderer/v8_value_converter.h" | |
10 #include "v8/include/v8.h" | |
11 | |
12 namespace base { | |
13 class Value; | |
14 } | |
15 | |
16 namespace extensions { | |
17 | |
18 class ActivityLogValueConverter { | |
felt
2013/07/18 17:28:20
Can you add a comment to explain why this new clas
pmarch
2013/07/18 20:42:03
Done.
| |
19 public: | |
20 ActivityLogValueConverter(); | |
21 virtual ~ActivityLogValueConverter(); | |
22 | |
23 base::Value* FromV8Value(v8::Handle<v8::Value> value, | |
24 v8::Handle<v8::Context> context) const; | |
25 private: | |
26 scoped_ptr<content::V8ValueConverter> v8_value_converter_; | |
27 | |
28 DISALLOW_COPY_AND_ASSIGN(ActivityLogValueConverter); | |
29 }; | |
30 | |
31 } // namespace extensions | |
32 | |
33 #endif // CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_VALUE_CONVERTER_H_ | |
felt
2013/07/18 17:28:20
linter is complaining about lack of a new line at
pmarch
2013/07/18 20:42:03
Done.
| |
OLD | NEW |