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

Unified Diff: extensions/browser/api/test/test_api.h

Issue 404883002: Allow extension APIs to be called from WebUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android compile Created 6 years, 5 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/public/browser/child_process_security_policy.h ('k') | extensions/browser/api/test/test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/test/test_api.h
diff --git a/extensions/browser/api/test/test_api.h b/extensions/browser/api/test/test_api.h
index ea5a6395407da42b4eb1ec8903b461066ee91849..37f98f3dc8f0fa6fac0bd39a729525a3e47b2d66 100644
--- a/extensions/browser/api/test/test_api.h
+++ b/extensions/browser/api/test/test_api.h
@@ -77,6 +77,9 @@ class TestSendMessageFunction : public AsyncExtensionFunction {
// a reply and will just ignore it.
void Reply(const std::string& message);
+ // Sends an error back to the calling extension.
+ void ReplyWithError(const std::string& error);
+
protected:
virtual ~TestSendMessageFunction();
« no previous file with comments | « content/public/browser/child_process_security_policy.h ('k') | extensions/browser/api/test/test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698