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

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

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Rebase after 3 spin off CLs landed. Created 4 years 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 "base/logging.h" 9 #include "base/logging.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 media::ScopedAudioManagerPtr ContentBrowserClient::CreateAudioManager( 112 media::ScopedAudioManagerPtr ContentBrowserClient::CreateAudioManager(
113 media::AudioLogFactory* audio_log_factory) { 113 media::AudioLogFactory* audio_log_factory) {
114 return nullptr; 114 return nullptr;
115 } 115 }
116 116
117 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() { 117 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() {
118 return nullptr; 118 return nullptr;
119 } 119 }
120 120
121 void ContentBrowserClient::PassiveInsecureContentFound(
122 const GURL& resource_url) {}
123
124 bool ContentBrowserClient::ShouldAllowRunningInsecureContent(
125 bool allowed_per_settings,
126 const url::Origin& origin,
127 const GURL& resource_url,
128 WebContents* web_contents) {
129 return false;
130 }
131
121 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( 132 bool ContentBrowserClient::ShouldSwapProcessesForRedirect(
122 BrowserContext* browser_context, 133 BrowserContext* browser_context,
123 const GURL& current_url, 134 const GURL& current_url,
124 const GURL& new_url) { 135 const GURL& new_url) {
125 return false; 136 return false;
126 } 137 }
127 138
128 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { 139 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) {
129 return true; 140 return true;
130 } 141 }
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 454
444 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { 455 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() {
445 return false; 456 return false;
446 } 457 }
447 458
448 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { 459 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
449 return false; 460 return false;
450 } 461 }
451 462
452 } // namespace content 463 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698