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

Unified Diff: extensions/browser/extension_function.h

Issue 1060993003: [Extensions UI] Use developerPrivate API for profile configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « chrome/common/extensions/api/developer_private.idl ('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 f9a2a79de2d79ec68a07ef2d09412aa6829d1c1c..a6d814d571237bea8d1193087dbf8d89bac41bf9 100644
--- a/extensions/browser/extension_function.h
+++ b/extensions/browser/extension_function.h
@@ -287,6 +287,8 @@ class ExtensionFunction
// raw pointer for convenience, since callers usually construct the argument
// to this by hand.
ResponseValue OneArgument(base::Value* arg);
+ // Success, a single argument |arg| to pass to caller.
+ ResponseValue OneArgument(scoped_ptr<base::Value> arg);
// Success, two arguments |arg1| and |arg2| to pass to caller. TAKES
// OWNERSHIP - raw pointers for convenience, since callers usually construct
// the argument to this by hand. Note that use of this function may imply you
« no previous file with comments | « chrome/common/extensions/api/developer_private.idl ('k') | extensions/browser/extension_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698