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 "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 Loading... |
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 Loading... |
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 |
OLD | NEW |