OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 ExtensionApiFrameIdMap* map) override; | 119 ExtensionApiFrameIdMap* map) override; |
120 std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( | 120 std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( |
121 content::RenderFrameHost* frame, | 121 content::RenderFrameHost* frame, |
122 const content::BluetoothChooser::EventHandler& event_handler) override; | 122 const content::BluetoothChooser::EventHandler& event_handler) override; |
123 bool IsActivityLoggingEnabled(content::BrowserContext* context) override; | 123 bool IsActivityLoggingEnabled(content::BrowserContext* context) override; |
124 extensions::ExtensionNavigationUIData* GetExtensionNavigationUIData( | 124 extensions::ExtensionNavigationUIData* GetExtensionNavigationUIData( |
125 net::URLRequest* request) override; | 125 net::URLRequest* request) override; |
126 KioskDelegate* GetKioskDelegate() override; | 126 KioskDelegate* GetKioskDelegate() override; |
127 | 127 |
128 private: | 128 private: |
129 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; | 129 friend struct base::LazyInstanceTraitsBase<ChromeExtensionsBrowserClient>; |
130 | 130 |
131 // Support for ProcessManager. | 131 // Support for ProcessManager. |
132 std::unique_ptr<ChromeProcessManagerDelegate> process_manager_delegate_; | 132 std::unique_ptr<ChromeProcessManagerDelegate> process_manager_delegate_; |
133 | 133 |
134 // Client for API implementations. | 134 // Client for API implementations. |
135 std::unique_ptr<ChromeExtensionsAPIClient> api_client_; | 135 std::unique_ptr<ChromeExtensionsAPIClient> api_client_; |
136 | 136 |
137 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_; | 137 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_; |
138 | 138 |
139 std::unique_ptr<ExtensionCache> extension_cache_; | 139 std::unique_ptr<ExtensionCache> extension_cache_; |
140 | 140 |
141 std::unique_ptr<KioskDelegate> kiosk_delegate_; | 141 std::unique_ptr<KioskDelegate> kiosk_delegate_; |
142 | 142 |
143 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); | 143 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); |
144 }; | 144 }; |
145 | 145 |
146 } // namespace extensions | 146 } // namespace extensions |
147 | 147 |
148 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 148 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |