| 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 EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ |
| 6 #define EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define EXTENSIONS_BROWSER_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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 virtual scoped_refptr<update_client::UpdateClient> CreateUpdateClient( | 245 virtual scoped_refptr<update_client::UpdateClient> CreateUpdateClient( |
| 246 content::BrowserContext* context); | 246 content::BrowserContext* context); |
| 247 | 247 |
| 248 virtual std::unique_ptr<ExtensionApiFrameIdMapHelper> | 248 virtual std::unique_ptr<ExtensionApiFrameIdMapHelper> |
| 249 CreateExtensionApiFrameIdMapHelper(ExtensionApiFrameIdMap* map); | 249 CreateExtensionApiFrameIdMapHelper(ExtensionApiFrameIdMap* map); |
| 250 | 250 |
| 251 virtual std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( | 251 virtual std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( |
| 252 content::RenderFrameHost* frame, | 252 content::RenderFrameHost* frame, |
| 253 const content::BluetoothChooser::EventHandler& event_handler); | 253 const content::BluetoothChooser::EventHandler& event_handler); |
| 254 | 254 |
| 255 // Returns true if activity logging is enabled for the given |context|. |
| 256 virtual bool IsActivityLoggingEnabled(content::BrowserContext* context); |
| 257 |
| 255 // Returns the single instance of |this|. | 258 // Returns the single instance of |this|. |
| 256 static ExtensionsBrowserClient* Get(); | 259 static ExtensionsBrowserClient* Get(); |
| 257 | 260 |
| 258 // Initialize the single instance. | 261 // Initialize the single instance. |
| 259 static void Set(ExtensionsBrowserClient* client); | 262 static void Set(ExtensionsBrowserClient* client); |
| 260 }; | 263 }; |
| 261 | 264 |
| 262 } // namespace extensions | 265 } // namespace extensions |
| 263 | 266 |
| 264 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ | 267 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |