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

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

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 | « device/hid/hid_service_unittest.cc ('k') | extensions/browser/api/extensions_api_client.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.h
diff --git a/extensions/browser/api/extensions_api_client.h b/extensions/browser/api/extensions_api_client.h
index b87e2d37742559892e2033cefad9240a2fd653b8..dc45299b49b323ae3250c7c05bbb0b45fd370689 100644
--- a/extensions/browser/api/extensions_api_client.h
+++ b/extensions/browser/api/extensions_api_client.h
@@ -19,6 +19,10 @@ namespace content {
class BrowserContext;
}
+namespace device {
+class HidService;
+}
+
namespace extensions {
class SettingsObserver;
@@ -64,6 +68,9 @@ class ExtensionsAPIClient {
int guest_instance_id,
const std::string& guest_extension_id);
+ // Returns the HidService instance for this embedder.
+ virtual device::HidService* GetHidService();
+
// NOTE: If this interface gains too many methods (perhaps more than 20) it
// should be split into one interface per API.
};
« no previous file with comments | « device/hid/hid_service_unittest.cc ('k') | extensions/browser/api/extensions_api_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698