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

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: Addressed all jam@ latest comments. Created 3 years, 11 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 media::ScopedAudioManagerPtr ContentBrowserClient::CreateAudioManager( 111 media::ScopedAudioManagerPtr ContentBrowserClient::CreateAudioManager(
112 media::AudioLogFactory* audio_log_factory) { 112 media::AudioLogFactory* audio_log_factory) {
113 return nullptr; 113 return nullptr;
114 } 114 }
115 115
116 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() { 116 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() {
117 return nullptr; 117 return nullptr;
118 } 118 }
119 119
120 void ContentBrowserClient::PassiveInsecureContentFound(
121 const GURL& resource_url) {}
122
123 bool ContentBrowserClient::ShouldAllowRunningInsecureContent(
124 bool allowed_per_settings,
125 const url::Origin& origin,
126 const GURL& resource_url,
127 WebContents* web_contents) {
128 return false;
129 }
130
120 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( 131 bool ContentBrowserClient::ShouldSwapProcessesForRedirect(
121 BrowserContext* browser_context, 132 BrowserContext* browser_context,
122 const GURL& current_url, 133 const GURL& current_url,
123 const GURL& new_url) { 134 const GURL& new_url) {
124 return false; 135 return false;
125 } 136 }
126 137
127 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { 138 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) {
128 return true; 139 return true;
129 } 140 }
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 445
435 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { 446 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() {
436 return false; 447 return false;
437 } 448 }
438 449
439 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { 450 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
440 return false; 451 return false;
441 } 452 }
442 453
443 } // namespace content 454 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698