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

Unified Diff: chrome/common/extensions/api/browser.idl

Issue 931533002: Make callback optional. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/browser.idl
diff --git a/chrome/common/extensions/api/browser.idl b/chrome/common/extensions/api/browser.idl
index c429d5e1fbe3ee4ce88ddf28bb5843f1cbdfc7fc..e53c0eb785855a155b0455a2107bd578aca2272c 100644
--- a/chrome/common/extensions/api/browser.idl
+++ b/chrome/common/extensions/api/browser.idl
@@ -21,6 +21,6 @@ namespace browser {
// |options| : The $(ref:OpenTabOptions) for this function.
// |callback| : Called to indicate success or failure.
static void openTab(OpenTabOptions options,
- Callback callback);
+ optional Callback callback);
};
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698