| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |