Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Side by Side Diff: extensions/browser/extensions_browser_client.cc

Issue 2658473002: Refactor BluetoothAllowedDevicesMap (Closed)
Patch Set: set --similarity=20 when did git cl upload Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 18 matching lines...) Expand all
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 return nullptr; 36 return nullptr;
37 } 37 }
38 38
39 content::BluetoothAllowedDevicesMapBase*
40 ExtensionsBrowserClient::GetBluetoothDevicesMap(
41 content::RenderFrameHost* frame) {
42 return nullptr;
43 }
44
39 void ExtensionsBrowserClient::ReportError( 45 void ExtensionsBrowserClient::ReportError(
40 content::BrowserContext* context, 46 content::BrowserContext* context,
41 std::unique_ptr<ExtensionError> error) { 47 std::unique_ptr<ExtensionError> error) {
42 LOG(ERROR) << error->GetDebugString(); 48 LOG(ERROR) << error->GetDebugString();
43 } 49 }
44 50
45 bool ExtensionsBrowserClient::IsActivityLoggingEnabled( 51 bool ExtensionsBrowserClient::IsActivityLoggingEnabled(
46 content::BrowserContext* context) { 52 content::BrowserContext* context) {
47 return false; 53 return false;
48 } 54 }
49 55
50 ExtensionNavigationUIData* 56 ExtensionNavigationUIData*
51 ExtensionsBrowserClient::GetExtensionNavigationUIData( 57 ExtensionsBrowserClient::GetExtensionNavigationUIData(
52 net::URLRequest* request) { 58 net::URLRequest* request) {
53 return nullptr; 59 return nullptr;
54 } 60 }
55 61
56 ExtensionsBrowserClient* ExtensionsBrowserClient::Get() { 62 ExtensionsBrowserClient* ExtensionsBrowserClient::Get() {
57 return g_client; 63 return g_client;
58 } 64 }
59 65
60 void ExtensionsBrowserClient::Set(ExtensionsBrowserClient* client) { 66 void ExtensionsBrowserClient::Set(ExtensionsBrowserClient* client) {
61 g_client = client; 67 g_client = client;
62 } 68 }
63 69
64 } // namespace extensions 70 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698