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

Side by Side Diff: content/shell/browser/shell_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
« no previous file with comments | « content/shell/browser/shell_content_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/shell/browser/shell_content_browser_client.h" 5 #include "content/shell/browser/shell_content_browser_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/base_switches.h" 10 #include "base/base_switches.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 SpeechRecognitionManagerDelegate* 264 SpeechRecognitionManagerDelegate*
265 ShellContentBrowserClient::CreateSpeechRecognitionManagerDelegate() { 265 ShellContentBrowserClient::CreateSpeechRecognitionManagerDelegate() {
266 return new ShellSpeechRecognitionManagerDelegate(); 266 return new ShellSpeechRecognitionManagerDelegate();
267 } 267 }
268 268
269 net::NetLog* ShellContentBrowserClient::GetNetLog() { 269 net::NetLog* ShellContentBrowserClient::GetNetLog() {
270 return shell_browser_main_parts_->net_log(); 270 return shell_browser_main_parts_->net_log();
271 } 271 }
272 272
273 bool ShellContentBrowserClient::ShouldSwapProcessesForRedirect( 273 bool ShellContentBrowserClient::ShouldSwapProcessesForRedirect(
274 ResourceContext* resource_context, 274 BrowserContext* browser_context,
275 const GURL& current_url, 275 const GURL& current_url,
276 const GURL& new_url) { 276 const GURL& new_url) {
277 return g_swap_processes_for_redirect; 277 return g_swap_processes_for_redirect;
278 } 278 }
279 279
280 DevToolsManagerDelegate* 280 DevToolsManagerDelegate*
281 ShellContentBrowserClient::GetDevToolsManagerDelegate() { 281 ShellContentBrowserClient::GetDevToolsManagerDelegate() {
282 return new ShellDevToolsManagerDelegate(browser_context()); 282 return new ShellDevToolsManagerDelegate(browser_context());
283 } 283 }
284 284
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 ShellBrowserContext* ShellContentBrowserClient::browser_context() { 349 ShellBrowserContext* ShellContentBrowserClient::browser_context() {
350 return shell_browser_main_parts_->browser_context(); 350 return shell_browser_main_parts_->browser_context();
351 } 351 }
352 352
353 ShellBrowserContext* 353 ShellBrowserContext*
354 ShellContentBrowserClient::off_the_record_browser_context() { 354 ShellContentBrowserClient::off_the_record_browser_context() {
355 return shell_browser_main_parts_->off_the_record_browser_context(); 355 return shell_browser_main_parts_->off_the_record_browser_context();
356 } 356 }
357 357
358 } // namespace content 358 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/shell_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698