| 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 | 245 |
| 246 // Returns a new UpdateClient. | 246 // Returns a new UpdateClient. |
| 247 virtual scoped_refptr<update_client::UpdateClient> CreateUpdateClient( | 247 virtual scoped_refptr<update_client::UpdateClient> CreateUpdateClient( |
| 248 content::BrowserContext* context); | 248 content::BrowserContext* context); |
| 249 | 249 |
| 250 virtual std::unique_ptr<ExtensionApiFrameIdMapHelper> | 250 virtual std::unique_ptr<ExtensionApiFrameIdMapHelper> |
| 251 CreateExtensionApiFrameIdMapHelper(ExtensionApiFrameIdMap* map); | 251 CreateExtensionApiFrameIdMapHelper(ExtensionApiFrameIdMap* map); |
| 252 | 252 |
| 253 virtual std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( | 253 virtual std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( |
| 254 content::RenderFrameHost* frame, | 254 content::RenderFrameHost* frame, |
| 255 const content::BluetoothChooser::EventHandler& event_handler); | 255 const content::BluetoothChooser::EventHandler& event_handler, |
| 256 bool accept_all_devices); |
| 256 | 257 |
| 257 // Returns true if activity logging is enabled for the given |context|. | 258 // Returns true if activity logging is enabled for the given |context|. |
| 258 virtual bool IsActivityLoggingEnabled(content::BrowserContext* context); | 259 virtual bool IsActivityLoggingEnabled(content::BrowserContext* context); |
| 259 | 260 |
| 260 virtual ExtensionNavigationUIData* GetExtensionNavigationUIData( | 261 virtual ExtensionNavigationUIData* GetExtensionNavigationUIData( |
| 261 net::URLRequest* request); | 262 net::URLRequest* request); |
| 262 | 263 |
| 263 // Returns a delegate that provides kiosk mode functionality. | 264 // Returns a delegate that provides kiosk mode functionality. |
| 264 virtual KioskDelegate* GetKioskDelegate() = 0; | 265 virtual KioskDelegate* GetKioskDelegate() = 0; |
| 265 | 266 |
| 266 // Returns the single instance of |this|. | 267 // Returns the single instance of |this|. |
| 267 static ExtensionsBrowserClient* Get(); | 268 static ExtensionsBrowserClient* Get(); |
| 268 | 269 |
| 269 // Initialize the single instance. | 270 // Initialize the single instance. |
| 270 static void Set(ExtensionsBrowserClient* client); | 271 static void Set(ExtensionsBrowserClient* client); |
| 271 }; | 272 }; |
| 272 | 273 |
| 273 } // namespace extensions | 274 } // namespace extensions |
| 274 | 275 |
| 275 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ | 276 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |