| 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 <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/guid.h" | 10 #include "base/guid.h" |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 119 |
| 120 media::ScopedAudioManagerPtr ContentBrowserClient::CreateAudioManager( | 120 media::ScopedAudioManagerPtr ContentBrowserClient::CreateAudioManager( |
| 121 media::AudioLogFactory* audio_log_factory) { | 121 media::AudioLogFactory* audio_log_factory) { |
| 122 return nullptr; | 122 return nullptr; |
| 123 } | 123 } |
| 124 | 124 |
| 125 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() { | 125 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() { |
| 126 return nullptr; | 126 return nullptr; |
| 127 } | 127 } |
| 128 | 128 |
| 129 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( | |
| 130 BrowserContext* browser_context, | |
| 131 const GURL& current_url, | |
| 132 const GURL& new_url) { | |
| 133 return false; | |
| 134 } | |
| 135 | |
| 136 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { | 129 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { |
| 137 return true; | 130 return true; |
| 138 } | 131 } |
| 139 | 132 |
| 140 std::string ContentBrowserClient::GetApplicationLocale() { | 133 std::string ContentBrowserClient::GetApplicationLocale() { |
| 141 return "en-US"; | 134 return "en-US"; |
| 142 } | 135 } |
| 143 | 136 |
| 144 std::string ContentBrowserClient::GetAcceptLangs(BrowserContext* context) { | 137 std::string ContentBrowserClient::GetAcceptLangs(BrowserContext* context) { |
| 145 return std::string(); | 138 return std::string(); |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 | 461 |
| 469 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 462 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
| 470 return false; | 463 return false; |
| 471 } | 464 } |
| 472 | 465 |
| 473 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 466 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 474 return false; | 467 return false; |
| 475 } | 468 } |
| 476 | 469 |
| 477 } // namespace content | 470 } // namespace content |
| OLD | NEW |