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

Unified Diff: extensions/browser/api/extensions_api_client.cc

Issue 419713002: Support permission_broker for chrome.hid devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add NOTIMPLEMENTED to default GetHidService implementation. 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
Index: extensions/browser/api/extensions_api_client.cc
diff --git a/extensions/browser/api/extensions_api_client.cc b/extensions/browser/api/extensions_api_client.cc
index 6ce860bc3fc47bdbedeb4cd37f99928266a1c71d..9603f2a0ee802ad006a32c8f483c31b01c7381ba 100644
--- a/extensions/browser/api/extensions_api_client.cc
+++ b/extensions/browser/api/extensions_api_client.cc
@@ -39,4 +39,10 @@ bool ExtensionsAPIClient::AppViewInternalDenyRequest(
return false;
}
+device::HidService* ExtensionsAPIClient::GetHidService() {
+ // This should never be called by clients which don't support the HID API.
+ NOTIMPLEMENTED();
+ return NULL;
+}
+
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698