| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 } | 218 } |
| 219 | 219 |
| 220 ContentBrowserClient::AllowWebBluetoothResult | 220 ContentBrowserClient::AllowWebBluetoothResult |
| 221 ContentBrowserClient::AllowWebBluetooth( | 221 ContentBrowserClient::AllowWebBluetooth( |
| 222 content::BrowserContext* browser_context, | 222 content::BrowserContext* browser_context, |
| 223 const url::Origin& requesting_origin, | 223 const url::Origin& requesting_origin, |
| 224 const url::Origin& embedding_origin) { | 224 const url::Origin& embedding_origin) { |
| 225 return AllowWebBluetoothResult::ALLOW; | 225 return AllowWebBluetoothResult::ALLOW; |
| 226 } | 226 } |
| 227 | 227 |
| 228 std::string ContentBrowserClient::GetWebBluetoothBlacklist() { |
| 229 return ""; |
| 230 } |
| 231 |
| 228 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { | 232 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { |
| 229 return nullptr; | 233 return nullptr; |
| 230 } | 234 } |
| 231 | 235 |
| 232 scoped_ptr<storage::QuotaEvictionPolicy> | 236 scoped_ptr<storage::QuotaEvictionPolicy> |
| 233 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( | 237 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( |
| 234 content::BrowserContext* context) { | 238 content::BrowserContext* context) { |
| 235 return scoped_ptr<storage::QuotaEvictionPolicy>(); | 239 return scoped_ptr<storage::QuotaEvictionPolicy>(); |
| 236 } | 240 } |
| 237 | 241 |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 #if defined(VIDEO_HOLE) | 433 #if defined(VIDEO_HOLE) |
| 430 ExternalVideoSurfaceContainer* | 434 ExternalVideoSurfaceContainer* |
| 431 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 435 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 432 WebContents* web_contents) { | 436 WebContents* web_contents) { |
| 433 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 437 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
| 434 return nullptr; | 438 return nullptr; |
| 435 } | 439 } |
| 436 #endif | 440 #endif |
| 437 | 441 |
| 438 } // namespace content | 442 } // namespace content |
| OLD | NEW |