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 29 matching lines...) Expand all Loading... |
40 namespace update_client { | 40 namespace update_client { |
41 class UpdateClient; | 41 class UpdateClient; |
42 } | 42 } |
43 | 43 |
44 namespace extensions { | 44 namespace extensions { |
45 | 45 |
46 class ApiActivityMonitor; | 46 class ApiActivityMonitor; |
47 class ComponentExtensionResourceManager; | 47 class ComponentExtensionResourceManager; |
48 class Extension; | 48 class Extension; |
49 class ExtensionCache; | 49 class ExtensionCache; |
| 50 class ExtensionChooserDialog; |
50 class ExtensionError; | 51 class ExtensionError; |
51 class ExtensionHostDelegate; | 52 class ExtensionHostDelegate; |
52 class ExtensionPrefsObserver; | 53 class ExtensionPrefsObserver; |
53 class ExtensionApiFrameIdMap; | 54 class ExtensionApiFrameIdMap; |
54 class ExtensionApiFrameIdMapHelper; | 55 class ExtensionApiFrameIdMapHelper; |
55 class ExtensionSystem; | 56 class ExtensionSystem; |
56 class ExtensionSystemProvider; | 57 class ExtensionSystemProvider; |
57 class ExtensionWebContentsObserver; | 58 class ExtensionWebContentsObserver; |
58 class InfoMap; | 59 class InfoMap; |
59 class ProcessManagerDelegate; | 60 class ProcessManagerDelegate; |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 virtual void AttachExtensionTaskManagerTag(content::WebContents* web_contents, | 247 virtual void AttachExtensionTaskManagerTag(content::WebContents* web_contents, |
247 ViewType view_type) {} | 248 ViewType view_type) {} |
248 | 249 |
249 // Returns a new UpdateClient. | 250 // Returns a new UpdateClient. |
250 virtual scoped_refptr<update_client::UpdateClient> CreateUpdateClient( | 251 virtual scoped_refptr<update_client::UpdateClient> CreateUpdateClient( |
251 content::BrowserContext* context); | 252 content::BrowserContext* context); |
252 | 253 |
253 virtual std::unique_ptr<ExtensionApiFrameIdMapHelper> | 254 virtual std::unique_ptr<ExtensionApiFrameIdMapHelper> |
254 CreateExtensionApiFrameIdMapHelper(ExtensionApiFrameIdMap* map); | 255 CreateExtensionApiFrameIdMapHelper(ExtensionApiFrameIdMap* map); |
255 | 256 |
| 257 virtual std::unique_ptr<ExtensionChooserDialog> |
| 258 CreateBluetoothChromeExtensionChooserDialog( |
| 259 content::WebContents* web_contents); |
| 260 |
256 // Returns the single instance of |this|. | 261 // Returns the single instance of |this|. |
257 static ExtensionsBrowserClient* Get(); | 262 static ExtensionsBrowserClient* Get(); |
258 | 263 |
259 // Initialize the single instance. | 264 // Initialize the single instance. |
260 static void Set(ExtensionsBrowserClient* client); | 265 static void Set(ExtensionsBrowserClient* client); |
261 }; | 266 }; |
262 | 267 |
263 } // namespace extensions | 268 } // namespace extensions |
264 | 269 |
265 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ | 270 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |