Index: extensions/browser/extension_function.h |
diff --git a/extensions/browser/extension_function.h b/extensions/browser/extension_function.h |
index 0fccce5b50ea12008452f6f079ba180a305977b0..b16157c52f24ff5c860f2babd466f12883ff57ba 100644 |
--- a/extensions/browser/extension_function.h |
+++ b/extensions/browser/extension_function.h |
@@ -308,6 +308,12 @@ class ExtensionFunction |
const std::string& s1, |
const std::string& s2, |
const std::string& s3); |
+ // Error with a list of arguments |results| to pass to caller. TAKES OWNERSHIP |
+ // - a scoped_ptr<> for convenience, since callers usually get this from the |
+ // result of a Create(...) call on the generated Results struct, for example, |
+ // alarms::Get::Results::Create(alarm). |
not at google - send to devlin
2015/02/05 17:16:17
It's funny actually - this ResponseAction/Response
Marc Treib
2015/02/06 10:26:15
Done.
|
+ ResponseValue ArgumentListWithError(scoped_ptr<base::ListValue> results, |
+ const std::string& error); |
// Bad message. A ResponseValue equivalent to EXTENSION_FUNCTION_VALIDATE(), |
// so this will actually kill the renderer and not respond at all. |
ResponseValue BadMessage(); |