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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 ResourceContext* context) { | 215 ResourceContext* context) { |
216 return true; | 216 return true; |
217 } | 217 } |
218 #endif // defined(ENABLE_WEBRTC) | 218 #endif // defined(ENABLE_WEBRTC) |
219 | 219 |
220 bool ContentBrowserClient::AllowKeygen(const GURL& url, | 220 bool ContentBrowserClient::AllowKeygen(const GURL& url, |
221 content::ResourceContext* context) { | 221 content::ResourceContext* context) { |
222 return true; | 222 return true; |
223 } | 223 } |
224 | 224 |
| 225 bool ContentBrowserClient::AllowWebBluetooth() { |
| 226 return true; |
| 227 } |
| 228 |
225 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { | 229 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { |
226 return nullptr; | 230 return nullptr; |
227 } | 231 } |
228 | 232 |
229 scoped_ptr<storage::QuotaEvictionPolicy> | 233 scoped_ptr<storage::QuotaEvictionPolicy> |
230 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( | 234 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( |
231 content::BrowserContext* context) { | 235 content::BrowserContext* context) { |
232 return scoped_ptr<storage::QuotaEvictionPolicy>(); | 236 return scoped_ptr<storage::QuotaEvictionPolicy>(); |
233 } | 237 } |
234 | 238 |
(...skipping 191 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 |