OLD | NEW |
| (Empty) |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_ | |
6 #define EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_ | |
7 | |
8 #include "base/memory/scoped_ptr.h" | |
9 #include "extensions/browser/api/extensions_api_client.h" | |
10 | |
11 namespace extensions { | |
12 | |
13 // Extra support for Chrome extensions APIs in app_shell. | |
14 class ShellExtensionsAPIClient : public ExtensionsAPIClient { | |
15 public: | |
16 ShellExtensionsAPIClient(); | |
17 virtual ~ShellExtensionsAPIClient(); | |
18 | |
19 // ExtensionsAPIClient implementation. | |
20 virtual device::HidService* GetHidService() OVERRIDE; | |
21 | |
22 private: | |
23 scoped_ptr<device::HidService> hid_service_; | |
24 }; | |
25 | |
26 } // namespace extensions | |
27 | |
28 #endif // EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_ | |
OLD | NEW |