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

Unified Diff: content/public/renderer/v8_value_converter.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
Index: content/public/renderer/v8_value_converter.h
diff --git a/content/public/renderer/v8_value_converter.h b/content/public/renderer/v8_value_converter.h
index e0a5ecdc5cd4263bc4b91caf9212daf211d63fb0..e8fad2adf17373d75f8e6ebea43f69a4d5eea756 100644
--- a/content/public/renderer/v8_value_converter.h
+++ b/content/public/renderer/v8_value_converter.h
@@ -30,7 +30,7 @@ class CONTENT_EXPORT V8ValueConverter {
// If an array or object throws while setting a value, that property or item
// is skipped, leaving a hole in the case of arrays.
virtual v8::Handle<v8::Value> ToV8Value(
- base::Value* value,
+ const base::Value* value,
v8::Handle<v8::Context> context) const = 0;
// Converts v8::Value to Value. Unsupported types are replaced with null.
« no previous file with comments | « chrome/test/data/extensions/api_test/stubs/content_script.js ('k') | content/renderer/v8_value_converter_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698