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.
5 #ifndef EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "extensions/browser/api/extensions_api_client.h"
11 namespace extensions
{
13 // Extra support for Chrome extensions APIs in app_shell.
14 class ShellExtensionsAPIClient
: public ExtensionsAPIClient
{
16 ShellExtensionsAPIClient();
17 virtual ~ShellExtensionsAPIClient();
19 // ExtensionsAPIClient implementation.
20 virtual device::HidService
* GetHidService() OVERRIDE
;
23 scoped_ptr
<device::HidService
> hid_service_
;
26 } // namespace extensions
28 #endif // EXTENSIONS_SHELL_BROWSER_API_SHELL_EXTENSIONS_API_CLIENT_H_