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 "content/public/browser/client_certificate_delegate.h" | 8 #include "content/public/browser/client_certificate_delegate.h" |
9 #include "content/public/common/sandbox_type.h" | 9 #include "content/public/common/sandbox_type.h" |
10 #include "media/base/cdm_factory.h" | 10 #include "media/base/cdm_factory.h" |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 } | 210 } |
211 | 211 |
212 #if defined(ENABLE_WEBRTC) | 212 #if defined(ENABLE_WEBRTC) |
213 bool ContentBrowserClient::AllowWebRTCIdentityCache(const GURL& url, | 213 bool ContentBrowserClient::AllowWebRTCIdentityCache(const GURL& url, |
214 const GURL& first_party_url, | 214 const GURL& first_party_url, |
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, |
| 221 content::ResourceContext* context) { |
| 222 return true; |
| 223 } |
| 224 |
220 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { | 225 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { |
221 return nullptr; | 226 return nullptr; |
222 } | 227 } |
223 | 228 |
224 scoped_ptr<storage::QuotaEvictionPolicy> | 229 scoped_ptr<storage::QuotaEvictionPolicy> |
225 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( | 230 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( |
226 content::BrowserContext* context) { | 231 content::BrowserContext* context) { |
227 return scoped_ptr<storage::QuotaEvictionPolicy>(); | 232 return scoped_ptr<storage::QuotaEvictionPolicy>(); |
228 } | 233 } |
229 | 234 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 #if defined(VIDEO_HOLE) | 415 #if defined(VIDEO_HOLE) |
411 ExternalVideoSurfaceContainer* | 416 ExternalVideoSurfaceContainer* |
412 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 417 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
413 WebContents* web_contents) { | 418 WebContents* web_contents) { |
414 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 419 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
415 return nullptr; | 420 return nullptr; |
416 } | 421 } |
417 #endif | 422 #endif |
418 | 423 |
419 } // namespace content | 424 } // namespace content |
OLD | NEW |