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

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

Issue 2397893002: Revert the merge of CrossSiteResourceHandler and NavigationResourceThrottle. (Closed)
Patch Set: Add back initialization of started_from_context_menu_. 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 media::ScopedAudioManagerPtr ContentBrowserClient::CreateAudioManager( 102 media::ScopedAudioManagerPtr ContentBrowserClient::CreateAudioManager(
103 media::AudioLogFactory* audio_log_factory) { 103 media::AudioLogFactory* audio_log_factory) {
104 return nullptr; 104 return nullptr;
105 } 105 }
106 106
107 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() { 107 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() {
108 return nullptr; 108 return nullptr;
109 } 109 }
110 110
111 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( 111 bool ContentBrowserClient::ShouldSwapProcessesForRedirect(
112 BrowserContext* browser_context, 112 ResourceContext* resource_context, const GURL& current_url,
113 const GURL& current_url,
114 const GURL& new_url) { 113 const GURL& new_url) {
115 return false; 114 return false;
116 } 115 }
117 116
118 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { 117 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) {
119 return true; 118 return true;
120 } 119 }
121 120
122 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( 121 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName(
123 const std::string& alias_name) { 122 const std::string& alias_name) {
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 return false; 424 return false;
426 } 425 }
427 #endif // defined(OS_WIN) 426 #endif // defined(OS_WIN)
428 427
429 std::unique_ptr<base::Value> ContentBrowserClient::GetServiceManifestOverlay( 428 std::unique_ptr<base::Value> ContentBrowserClient::GetServiceManifestOverlay(
430 const std::string& name) { 429 const std::string& name) {
431 return nullptr; 430 return nullptr;
432 } 431 }
433 432
434 } // namespace content 433 } // 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