Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Unified Diff: content/renderer/v8_value_converter_impl.h

Issue 8540012: Enable extension APIs for content scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/renderer/v8_value_converter.h ('k') | content/renderer/v8_value_converter_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/v8_value_converter_impl.h
diff --git a/content/renderer/v8_value_converter_impl.h b/content/renderer/v8_value_converter_impl.h
index 9639e423ed0976175e6c0be21a27292b6cf0eb01..ac6e7b7e6095f93ced57b6822f1b9d7b572a9080 100644
--- a/content/renderer/v8_value_converter_impl.h
+++ b/content/renderer/v8_value_converter_impl.h
@@ -32,16 +32,17 @@ class CONTENT_EXPORT V8ValueConverterImpl : public content::V8ValueConverter {
// V8ValueConverter implementation.
virtual v8::Handle<v8::Value> ToV8Value(
- base::Value* value,
+ const base::Value* value,
v8::Handle<v8::Context> context) const OVERRIDE;
virtual base::Value* FromV8Value(
v8::Handle<v8::Value> value,
v8::Handle<v8::Context> context) const OVERRIDE;
private:
- v8::Handle<v8::Value> ToV8ValueImpl(base::Value* value) const;
- v8::Handle<v8::Value> ToV8Array(base::ListValue* list) const;
- v8::Handle<v8::Value> ToV8Object(base::DictionaryValue* dictionary) const;
+ v8::Handle<v8::Value> ToV8ValueImpl(const base::Value* value) const;
+ v8::Handle<v8::Value> ToV8Array(const base::ListValue* list) const;
+ v8::Handle<v8::Value> ToV8Object(
+ const base::DictionaryValue* dictionary) const;
base::Value* FromV8ValueImpl(v8::Handle<v8::Value> value) const;
base::ListValue* FromV8Array(v8::Handle<v8::Array> array) const;
« no previous file with comments | « content/public/renderer/v8_value_converter.h ('k') | content/renderer/v8_value_converter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698