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

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

Issue 2321543002: Merge CrossSiteResourceHandler and NavigationResourceThrottle (Closed)
Patch Set: Addressed nits Created 4 years, 2 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/web_contents_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698