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 #include "extensions/browser/extensions_browser_client.h" | 5 #include "extensions/browser/extensions_browser_client.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "components/update_client/update_client.h" | 8 #include "components/update_client/update_client.h" |
9 #include "extensions/browser/extension_api_frame_id_map.h" | 9 #include "extensions/browser/extension_api_frame_id_map.h" |
10 #include "extensions/browser/extension_error.h" | 10 #include "extensions/browser/extension_error.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 std::unique_ptr<ExtensionApiFrameIdMapHelper> | 26 std::unique_ptr<ExtensionApiFrameIdMapHelper> |
27 ExtensionsBrowserClient::CreateExtensionApiFrameIdMapHelper( | 27 ExtensionsBrowserClient::CreateExtensionApiFrameIdMapHelper( |
28 ExtensionApiFrameIdMap* map) { | 28 ExtensionApiFrameIdMap* map) { |
29 return nullptr; | 29 return nullptr; |
30 } | 30 } |
31 | 31 |
32 std::unique_ptr<content::BluetoothChooser> | 32 std::unique_ptr<content::BluetoothChooser> |
33 ExtensionsBrowserClient::CreateBluetoothChooser( | 33 ExtensionsBrowserClient::CreateBluetoothChooser( |
34 content::RenderFrameHost* frame, | 34 content::RenderFrameHost* frame, |
35 const content::BluetoothChooser::EventHandler& event_handler) { | 35 const content::BluetoothChooser::EventHandler& event_handler, |
| 36 bool accept_all_devices) { |
36 return nullptr; | 37 return nullptr; |
37 } | 38 } |
38 | 39 |
39 void ExtensionsBrowserClient::ReportError( | 40 void ExtensionsBrowserClient::ReportError( |
40 content::BrowserContext* context, | 41 content::BrowserContext* context, |
41 std::unique_ptr<ExtensionError> error) { | 42 std::unique_ptr<ExtensionError> error) { |
42 LOG(ERROR) << error->GetDebugString(); | 43 LOG(ERROR) << error->GetDebugString(); |
43 } | 44 } |
44 | 45 |
45 bool ExtensionsBrowserClient::IsActivityLoggingEnabled( | 46 bool ExtensionsBrowserClient::IsActivityLoggingEnabled( |
46 content::BrowserContext* context) { | 47 content::BrowserContext* context) { |
47 return false; | 48 return false; |
48 } | 49 } |
49 | 50 |
50 ExtensionNavigationUIData* | 51 ExtensionNavigationUIData* |
51 ExtensionsBrowserClient::GetExtensionNavigationUIData( | 52 ExtensionsBrowserClient::GetExtensionNavigationUIData( |
52 net::URLRequest* request) { | 53 net::URLRequest* request) { |
53 return nullptr; | 54 return nullptr; |
54 } | 55 } |
55 | 56 |
56 ExtensionsBrowserClient* ExtensionsBrowserClient::Get() { | 57 ExtensionsBrowserClient* ExtensionsBrowserClient::Get() { |
57 return g_client; | 58 return g_client; |
58 } | 59 } |
59 | 60 |
60 void ExtensionsBrowserClient::Set(ExtensionsBrowserClient* client) { | 61 void ExtensionsBrowserClient::Set(ExtensionsBrowserClient* client) { |
61 g_client = client; | 62 g_client = client; |
62 } | 63 } |
63 | 64 |
64 } // namespace extensions | 65 } // namespace extensions |
OLD | NEW |