| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "extensions/browser/api/extensions_api_client.h" | 9 #include "extensions/browser/api/extensions_api_client.h" |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 OVERRIDE; | 25 OVERRIDE; |
| 26 virtual bool AppViewInternalAttachFrame( | 26 virtual bool AppViewInternalAttachFrame( |
| 27 content::BrowserContext* browser_context, | 27 content::BrowserContext* browser_context, |
| 28 const GURL& url, | 28 const GURL& url, |
| 29 int guest_instance_id, | 29 int guest_instance_id, |
| 30 const std::string& guest_extension_id) OVERRIDE; | 30 const std::string& guest_extension_id) OVERRIDE; |
| 31 virtual bool AppViewInternalDenyRequest( | 31 virtual bool AppViewInternalDenyRequest( |
| 32 content::BrowserContext* browser_context, | 32 content::BrowserContext* browser_context, |
| 33 int guest_instance_id, | 33 int guest_instance_id, |
| 34 const std::string& guest_extension_id) OVERRIDE; | 34 const std::string& guest_extension_id) OVERRIDE; |
| 35 virtual device::HidService* GetHidService() OVERRIDE; |
| 35 | 36 |
| 36 private: | 37 private: |
| 38 scoped_ptr<device::HidService> hid_service_; |
| 39 |
| 37 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsAPIClient); | 40 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsAPIClient); |
| 38 }; | 41 }; |
| 39 | 42 |
| 40 } // namespace extensions | 43 } // namespace extensions |
| 41 | 44 |
| 42 #endif // CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ | 45 #endif // CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_ |
| OLD | NEW |