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

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

Issue 1417173010: Adding <keygen> Content Setting (core) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing ContentSetting Register. Created 5 years, 1 month 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 "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
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
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
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698