| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 media::ScopedAudioManagerPtr ContentBrowserClient::CreateAudioManager( | 101 media::ScopedAudioManagerPtr ContentBrowserClient::CreateAudioManager( |
| 102 media::AudioLogFactory* audio_log_factory) { | 102 media::AudioLogFactory* audio_log_factory) { |
| 103 return nullptr; | 103 return nullptr; |
| 104 } | 104 } |
| 105 | 105 |
| 106 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() { | 106 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() { |
| 107 return nullptr; | 107 return nullptr; |
| 108 } | 108 } |
| 109 | 109 |
| 110 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( | 110 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( |
| 111 ResourceContext* resource_context, const GURL& current_url, | 111 BrowserContext* browser_context, |
| 112 const GURL& current_url, |
| 112 const GURL& new_url) { | 113 const GURL& new_url) { |
| 113 return false; | 114 return false; |
| 114 } | 115 } |
| 115 | 116 |
| 116 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { | 117 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { |
| 117 return true; | 118 return true; |
| 118 } | 119 } |
| 119 | 120 |
| 120 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( | 121 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( |
| 121 const std::string& alias_name) { | 122 const std::string& alias_name) { |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 return false; | 419 return false; |
| 419 } | 420 } |
| 420 #endif // defined(OS_WIN) | 421 #endif // defined(OS_WIN) |
| 421 | 422 |
| 422 std::unique_ptr<base::Value> ContentBrowserClient::GetServiceManifestOverlay( | 423 std::unique_ptr<base::Value> ContentBrowserClient::GetServiceManifestOverlay( |
| 423 const std::string& name) { | 424 const std::string& name) { |
| 424 return nullptr; | 425 return nullptr; |
| 425 } | 426 } |
| 426 | 427 |
| 427 } // namespace content | 428 } // namespace content |
| OLD | NEW |