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..fa2a51844a1f605a61fce138e3ece022b5f750b2 100644 |
--- a/extensions/browser/api/extensions_api_client.h |
+++ b/extensions/browser/api/extensions_api_client.h |
@@ -8,6 +8,7 @@ |
#include <map> |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
#include "extensions/browser/api/storage/settings_namespace.h" |
class GURL; |
@@ -19,6 +20,10 @@ namespace content { |
class BrowserContext; |
} |
+namespace device { |
+class HidService; |
+} |
+ |
namespace extensions { |
class SettingsObserver; |
@@ -64,6 +69,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. |
}; |