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 #include "extensions/browser/api/extensions_api_client.h" | 5 #include "extensions/browser/api/extensions_api_client.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace extensions { | 9 namespace extensions { |
10 class AppViewGuestDelegate; | 10 class AppViewGuestDelegate; |
(...skipping 27 matching lines...) Expand all Loading... |
38 content::BrowserContext* browser_context, | 38 content::BrowserContext* browser_context, |
39 int guest_instance_id, | 39 int guest_instance_id, |
40 const std::string& guest_extension_id) { | 40 const std::string& guest_extension_id) { |
41 return false; | 41 return false; |
42 } | 42 } |
43 | 43 |
44 AppViewGuestDelegate* ExtensionsAPIClient::CreateAppViewGuestDelegate() const { | 44 AppViewGuestDelegate* ExtensionsAPIClient::CreateAppViewGuestDelegate() const { |
45 return NULL; | 45 return NULL; |
46 } | 46 } |
47 | 47 |
| 48 device::HidService* ExtensionsAPIClient::GetHidService() { |
| 49 // This should never be called by clients which don't support the HID API. |
| 50 NOTIMPLEMENTED(); |
| 51 return NULL; |
| 52 } |
| 53 |
48 WebViewGuestDelegate* ExtensionsAPIClient::CreateWebViewGuestDelegate( | 54 WebViewGuestDelegate* ExtensionsAPIClient::CreateWebViewGuestDelegate( |
49 WebViewGuest* web_view_guest) const { | 55 WebViewGuest* web_view_guest) const { |
50 return NULL; | 56 return NULL; |
51 } | 57 } |
52 | 58 |
53 WebViewPermissionHelperDelegate* ExtensionsAPIClient:: | 59 WebViewPermissionHelperDelegate* ExtensionsAPIClient:: |
54 CreateWebViewPermissionHelperDelegate( | 60 CreateWebViewPermissionHelperDelegate( |
55 WebViewPermissionHelper* web_view_permission_helper) const { | 61 WebViewPermissionHelper* web_view_permission_helper) const { |
56 return NULL; | 62 return NULL; |
57 } | 63 } |
58 | 64 |
59 } // namespace extensions | 65 } // namespace extensions |
OLD | NEW |