| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 void AttachExtensionTaskManagerTag(content::WebContents* web_contents, | 114 void AttachExtensionTaskManagerTag(content::WebContents* web_contents, |
| 115 ViewType view_type) override; | 115 ViewType view_type) override; |
| 116 scoped_refptr<update_client::UpdateClient> CreateUpdateClient( | 116 scoped_refptr<update_client::UpdateClient> CreateUpdateClient( |
| 117 content::BrowserContext* context) override; | 117 content::BrowserContext* context) override; |
| 118 std::unique_ptr<ExtensionApiFrameIdMapHelper> | 118 std::unique_ptr<ExtensionApiFrameIdMapHelper> |
| 119 CreateExtensionApiFrameIdMapHelper( | 119 CreateExtensionApiFrameIdMapHelper( |
| 120 ExtensionApiFrameIdMap* map) override; | 120 ExtensionApiFrameIdMap* map) override; |
| 121 std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( | 121 std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( |
| 122 content::RenderFrameHost* frame, | 122 content::RenderFrameHost* frame, |
| 123 const content::BluetoothChooser::EventHandler& event_handler) override; | 123 const content::BluetoothChooser::EventHandler& event_handler) override; |
| 124 bool IsActivityLoggingEnabled(content::BrowserContext* context) override; |
| 124 | 125 |
| 125 private: | 126 private: |
| 126 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; | 127 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; |
| 127 | 128 |
| 128 // Observer for Chrome-specific notifications. | 129 // Observer for Chrome-specific notifications. |
| 129 ChromeNotificationObserver notification_observer_; | 130 ChromeNotificationObserver notification_observer_; |
| 130 | 131 |
| 131 // Support for ProcessManager. | 132 // Support for ProcessManager. |
| 132 std::unique_ptr<ChromeProcessManagerDelegate> process_manager_delegate_; | 133 std::unique_ptr<ChromeProcessManagerDelegate> process_manager_delegate_; |
| 133 | 134 |
| 134 // Client for API implementations. | 135 // Client for API implementations. |
| 135 std::unique_ptr<ChromeExtensionsAPIClient> api_client_; | 136 std::unique_ptr<ChromeExtensionsAPIClient> api_client_; |
| 136 | 137 |
| 137 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_; | 138 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_; |
| 138 | 139 |
| 139 std::unique_ptr<ExtensionCache> extension_cache_; | 140 std::unique_ptr<ExtensionCache> extension_cache_; |
| 140 | 141 |
| 141 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); | 142 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); |
| 142 }; | 143 }; |
| 143 | 144 |
| 144 } // namespace extensions | 145 } // namespace extensions |
| 145 | 146 |
| 146 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ | 147 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |