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 #include "extensions/browser/api/device_permissions_prompt.h" | 8 #include "extensions/browser/api/device_permissions_prompt.h" |
9 #include "extensions/browser/api/virtual_keyboard_private/virtual_keyboard_deleg
ate.h" | 9 #include "extensions/browser/api/virtual_keyboard_private/virtual_keyboard_deleg
ate.h" |
10 #include "extensions/browser/api/web_request/web_request_event_router_delegate.h
" | 10 #include "extensions/browser/api/web_request/web_request_event_router_delegate.h
" |
(...skipping 10 matching lines...) Expand all Loading... |
21 ExtensionsAPIClient::ExtensionsAPIClient() { g_instance = this; } | 21 ExtensionsAPIClient::ExtensionsAPIClient() { g_instance = this; } |
22 | 22 |
23 ExtensionsAPIClient::~ExtensionsAPIClient() { g_instance = NULL; } | 23 ExtensionsAPIClient::~ExtensionsAPIClient() { g_instance = NULL; } |
24 | 24 |
25 // static | 25 // static |
26 ExtensionsAPIClient* ExtensionsAPIClient::Get() { return g_instance; } | 26 ExtensionsAPIClient* ExtensionsAPIClient::Get() { return g_instance; } |
27 | 27 |
28 void ExtensionsAPIClient::AddAdditionalValueStoreCaches( | 28 void ExtensionsAPIClient::AddAdditionalValueStoreCaches( |
29 content::BrowserContext* context, | 29 content::BrowserContext* context, |
30 const scoped_refptr<SettingsStorageFactory>& factory, | 30 const scoped_refptr<SettingsStorageFactory>& factory, |
31 const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers, | 31 const scoped_refptr<base::ObserverListThreadSafe<SettingsObserver>>& |
32 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) {} | 32 observers, |
| 33 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) { |
| 34 } |
33 | 35 |
34 AppViewGuestDelegate* ExtensionsAPIClient::CreateAppViewGuestDelegate() const { | 36 AppViewGuestDelegate* ExtensionsAPIClient::CreateAppViewGuestDelegate() const { |
35 return NULL; | 37 return NULL; |
36 } | 38 } |
37 | 39 |
38 ExtensionOptionsGuestDelegate* | 40 ExtensionOptionsGuestDelegate* |
39 ExtensionsAPIClient::CreateExtensionOptionsGuestDelegate( | 41 ExtensionsAPIClient::CreateExtensionOptionsGuestDelegate( |
40 ExtensionOptionsGuest* guest) const { | 42 ExtensionOptionsGuest* guest) const { |
41 return NULL; | 43 return NULL; |
42 } | 44 } |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 ExtensionsAPIClient::CreateVirtualKeyboardDelegate() const { | 88 ExtensionsAPIClient::CreateVirtualKeyboardDelegate() const { |
87 return nullptr; | 89 return nullptr; |
88 } | 90 } |
89 | 91 |
90 ManagementAPIDelegate* ExtensionsAPIClient::CreateManagementAPIDelegate() | 92 ManagementAPIDelegate* ExtensionsAPIClient::CreateManagementAPIDelegate() |
91 const { | 93 const { |
92 return nullptr; | 94 return nullptr; |
93 } | 95 } |
94 | 96 |
95 } // namespace extensions | 97 } // namespace extensions |
OLD | NEW |