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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_private_api.h

Issue 2017113002: [Extensions] DCHECK that ExtensionFunctions respond (and only once) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/test/ppapi/ppapi_browsertest.cc ('k') | extensions/browser/api/bluetooth/bluetooth_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/bluetooth/bluetooth_private_api.h
diff --git a/extensions/browser/api/bluetooth/bluetooth_private_api.h b/extensions/browser/api/bluetooth/bluetooth_private_api.h
index a35dc2ea54d0e288f50b9deaceaaf85f7deb0f1e..477d19a0a1172f8f78188daab548201186ea8d7d 100644
--- a/extensions/browser/api/bluetooth/bluetooth_private_api.h
+++ b/extensions/browser/api/bluetooth/bluetooth_private_api.h
@@ -75,6 +75,10 @@ class BluetoothPrivateSetAdapterStateFunction
// Set of adapter properties that were not set successfully.
std::set<std::string> failed_properties_;
+ // Whether or not the function has finished parsing the arguments and queuing
+ // up state requests.
+ bool parsed_ = false;
+
DISALLOW_COPY_AND_ASSIGN(BluetoothPrivateSetAdapterStateFunction);
};
« no previous file with comments | « chrome/test/ppapi/ppapi_browsertest.cc ('k') | extensions/browser/api/bluetooth/bluetooth_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698