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

Unified Diff: extensions/browser/extension_function.h

Issue 1129083003: More base::Values-related bare pointer -> scoped_ptr conversions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad merge Created 5 years, 7 months 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/renderer/render_frame_impl.cc ('k') | extensions/browser/extension_function.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_function.h
diff --git a/extensions/browser/extension_function.h b/extensions/browser/extension_function.h
index a6d814d571237bea8d1193087dbf8d89bac41bf9..3f6f9cecb7e892e6013e010e324536c3f18fc26c 100644
--- a/extensions/browser/extension_function.h
+++ b/extensions/browser/extension_function.h
@@ -200,6 +200,8 @@ class ExtensionFunction
virtual void SetArgs(const base::ListValue* args);
// Sets a single Value as the results of the function.
+ void SetResult(scoped_ptr<base::Value> result);
+ // As above, but deprecated. TODO(estade): remove.
void SetResult(base::Value* result);
// Sets multiple Values as the results of the function.
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | extensions/browser/extension_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698