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

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

Issue 2399853003: [M54 merge] Lock down creation of blob:chrome-extension URLs from non-extension processes. (Closed)
Patch Set: Rebase Created 4 years, 2 months 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 "base/guid.h" 8 #include "base/guid.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/public/browser/client_certificate_delegate.h" 10 #include "content/public/browser/client_certificate_delegate.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 return url; 43 return url;
44 } 44 }
45 45
46 bool ContentBrowserClient::ShouldUseProcessPerSite( 46 bool ContentBrowserClient::ShouldUseProcessPerSite(
47 BrowserContext* browser_context, const GURL& effective_url) { 47 BrowserContext* browser_context, const GURL& effective_url) {
48 return false; 48 return false;
49 } 49 }
50 50
51 bool ContentBrowserClient::DoesSiteRequireDedicatedProcess( 51 bool ContentBrowserClient::DoesSiteRequireDedicatedProcess(
52 BrowserContext* browser_context, 52 BrowserContext* browser_context,
53 const GURL& effective_url) { 53 const GURL& effective_site_url) {
54 return false; 54 return false;
55 } 55 }
56 56
57 bool ContentBrowserClient::ShouldLockToOrigin(BrowserContext* browser_context, 57 bool ContentBrowserClient::ShouldLockToOrigin(BrowserContext* browser_context,
58 const GURL& effective_url) { 58 const GURL& effective_url) {
59 return true; 59 return true;
60 } 60 }
61 61
62 bool ContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const { 62 bool ContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const {
63 return false; 63 return false;
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 #if defined(VIDEO_HOLE) 422 #if defined(VIDEO_HOLE)
423 ExternalVideoSurfaceContainer* 423 ExternalVideoSurfaceContainer*
424 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 424 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
425 WebContents* web_contents) { 425 WebContents* web_contents) {
426 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 426 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
427 return nullptr; 427 return nullptr;
428 } 428 }
429 #endif 429 #endif
430 430
431 } // namespace content 431 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/shell/browser/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698