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

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: Fix hid in app_shell after its move to //extensions 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 | « extensions/browser/api/extensions_api_client.h ('k') | extensions/browser/api/hid/hid_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a0fff44d04b940452a1c6f3d3a2c16c05af3f403 100644
--- a/extensions/browser/api/extensions_api_client.cc
+++ b/extensions/browser/api/extensions_api_client.cc
@@ -4,6 +4,8 @@
#include "extensions/browser/api/extensions_api_client.h"
+#include "base/logging.h"
+
namespace extensions {
namespace {
@@ -39,4 +41,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
« no previous file with comments | « extensions/browser/api/extensions_api_client.h ('k') | extensions/browser/api/hid/hid_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698