Index: chrome/renderer/extensions/activity_log_value_converter.h |
diff --git a/chrome/renderer/extensions/activity_log_value_converter.h b/chrome/renderer/extensions/activity_log_value_converter.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..58f5a4f977a032c987e27369ffd4b0501d23245a |
--- /dev/null |
+++ b/chrome/renderer/extensions/activity_log_value_converter.h |
@@ -0,0 +1,33 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_VALUE_CONVERTER_H_ |
+#define CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_VALUE_CONVERTER_H_ |
+ |
+#include "base/memory/scoped_ptr.h" |
+#include "content/public/renderer/v8_value_converter.h" |
+#include "v8/include/v8.h" |
+ |
+namespace base { |
+class Value; |
+} |
+ |
+namespace extensions { |
+ |
+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.
|
+ public: |
+ ActivityLogValueConverter(); |
+ virtual ~ActivityLogValueConverter(); |
+ |
+ base::Value* FromV8Value(v8::Handle<v8::Value> value, |
+ v8::Handle<v8::Context> context) const; |
+ private: |
+ scoped_ptr<content::V8ValueConverter> v8_value_converter_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ActivityLogValueConverter); |
+}; |
+ |
+} // namespace extensions |
+ |
+#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.
|