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

Unified Diff: chrome/browser/extensions/chrome_extension_function.h

Issue 2351823004: [Extensions] Consolidate ExtensionFunction::SendResponse()s (Closed)
Patch Set: lazyboy's Created 4 years, 3 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
Index: chrome/browser/extensions/chrome_extension_function.h
diff --git a/chrome/browser/extensions/chrome_extension_function.h b/chrome/browser/extensions/chrome_extension_function.h
index dede716c8e93a05eb74046c07e1dd596cb86b5a8..a556085562dbf13e8e890d95ba37327bc9d5243f 100644
--- a/chrome/browser/extensions/chrome_extension_function.h
+++ b/chrome/browser/extensions/chrome_extension_function.h
@@ -58,6 +58,10 @@ class ChromeUIThreadExtensionFunction : public UIThreadExtensionFunction {
// contents then defaults to the foremost one.
content::WebContents* GetAssociatedWebContents() override;
+ // Responds with success/failure. |results_| or |error_| should be set
+ // accordingly.
+ void SendResponse(bool success);
+
protected:
~ChromeUIThreadExtensionFunction() override;

Powered by Google App Engine
This is Rietveld 408576698