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, const GURL& current_url, |
nasko
2016/09/08 00:35:36
nit: Each parameter on new line.
clamy
2016/09/09 15:06:41
Done.
| |
112 const GURL& new_url) { | 112 const GURL& new_url) { |
113 return false; | 113 return false; |
114 } | 114 } |
115 | 115 |
116 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { | 116 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { |
117 return true; | 117 return true; |
118 } | 118 } |
119 | 119 |
120 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( | 120 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( |
121 const std::string& alias_name) { | 121 const std::string& alias_name) { |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
422 #if defined(VIDEO_HOLE) | 422 #if defined(VIDEO_HOLE) |
423 ExternalVideoSurfaceContainer* | 423 ExternalVideoSurfaceContainer* |
424 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 424 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
425 WebContents* web_contents) { | 425 WebContents* web_contents) { |
426 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 426 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
427 return nullptr; | 427 return nullptr; |
428 } | 428 } |
429 #endif | 429 #endif |
430 | 430 |
431 } // namespace content | 431 } // namespace content |
OLD | NEW |