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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 2321543002: Merge CrossSiteResourceHandler and NavigationResourceThrottle (Closed)
Patch Set: Rebase Created 4 years, 3 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 #if defined(VIDEO_HOLE) 423 #if defined(VIDEO_HOLE)
423 ExternalVideoSurfaceContainer* 424 ExternalVideoSurfaceContainer*
424 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 425 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
425 WebContents* web_contents) { 426 WebContents* web_contents) {
426 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 427 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
427 return nullptr; 428 return nullptr;
428 } 429 }
429 #endif 430 #endif
430 431
431 } // namespace content 432 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698