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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 2059543002: bluetooth: Move FactoryWrapper to device and expose a function for testing in chooser controller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Fix typo Created 4 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/client_certificate_delegate.h" 9 #include "content/public/browser/client_certificate_delegate.h"
10 #include "content/public/common/sandbox_type.h" 10 #include "content/public/common/sandbox_type.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 content::BrowserContext* browser_context, 214 content::BrowserContext* browser_context,
215 const url::Origin& requesting_origin, 215 const url::Origin& requesting_origin,
216 const url::Origin& embedding_origin) { 216 const url::Origin& embedding_origin) {
217 return AllowWebBluetoothResult::ALLOW; 217 return AllowWebBluetoothResult::ALLOW;
218 } 218 }
219 219
220 std::string ContentBrowserClient::GetWebBluetoothBlacklist() { 220 std::string ContentBrowserClient::GetWebBluetoothBlacklist() {
221 return std::string(); 221 return std::string();
222 } 222 }
223 223
224 base::TimeDelta ContentBrowserClient::GetBluetoothScanDuration() {
225 return base::TimeDelta::FromSeconds(0);
226 }
227
224 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { 228 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() {
225 return nullptr; 229 return nullptr;
226 } 230 }
227 231
228 std::unique_ptr<storage::QuotaEvictionPolicy> 232 std::unique_ptr<storage::QuotaEvictionPolicy>
229 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( 233 ContentBrowserClient::GetTemporaryStorageEvictionPolicy(
230 content::BrowserContext* context) { 234 content::BrowserContext* context) {
231 return std::unique_ptr<storage::QuotaEvictionPolicy>(); 235 return std::unique_ptr<storage::QuotaEvictionPolicy>();
232 } 236 }
233 237
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 #if defined(VIDEO_HOLE) 430 #if defined(VIDEO_HOLE)
427 ExternalVideoSurfaceContainer* 431 ExternalVideoSurfaceContainer*
428 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 432 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
429 WebContents* web_contents) { 433 WebContents* web_contents) {
430 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 434 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
431 return nullptr; 435 return nullptr;
432 } 436 }
433 #endif 437 #endif
434 438
435 } // namespace content 439 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698