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

Side by Side Diff: content/shell/browser/shell_content_browser_client.cc

Issue 2392283005: Reland "Merge of CrossSiteResourceHandler and NavigationResourceThrottle." (Closed)
Patch Set: Added debugging code from issue 2393903002 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 SpeechRecognitionManagerDelegate* 287 SpeechRecognitionManagerDelegate*
288 ShellContentBrowserClient::CreateSpeechRecognitionManagerDelegate() { 288 ShellContentBrowserClient::CreateSpeechRecognitionManagerDelegate() {
289 return new ShellSpeechRecognitionManagerDelegate(); 289 return new ShellSpeechRecognitionManagerDelegate();
290 } 290 }
291 291
292 net::NetLog* ShellContentBrowserClient::GetNetLog() { 292 net::NetLog* ShellContentBrowserClient::GetNetLog() {
293 return shell_browser_main_parts_->net_log(); 293 return shell_browser_main_parts_->net_log();
294 } 294 }
295 295
296 bool ShellContentBrowserClient::ShouldSwapProcessesForRedirect( 296 bool ShellContentBrowserClient::ShouldSwapProcessesForRedirect(
297 ResourceContext* resource_context, 297 BrowserContext* browser_context,
298 const GURL& current_url, 298 const GURL& current_url,
299 const GURL& new_url) { 299 const GURL& new_url) {
300 return g_swap_processes_for_redirect; 300 return g_swap_processes_for_redirect;
301 } 301 }
302 302
303 DevToolsManagerDelegate* 303 DevToolsManagerDelegate*
304 ShellContentBrowserClient::GetDevToolsManagerDelegate() { 304 ShellContentBrowserClient::GetDevToolsManagerDelegate() {
305 return new ShellDevToolsManagerDelegate(browser_context()); 305 return new ShellDevToolsManagerDelegate(browser_context());
306 } 306 }
307 307
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 ShellBrowserContext* ShellContentBrowserClient::browser_context() { 372 ShellBrowserContext* ShellContentBrowserClient::browser_context() {
373 return shell_browser_main_parts_->browser_context(); 373 return shell_browser_main_parts_->browser_context();
374 } 374 }
375 375
376 ShellBrowserContext* 376 ShellBrowserContext*
377 ShellContentBrowserClient::off_the_record_browser_context() { 377 ShellContentBrowserClient::off_the_record_browser_context() {
378 return shell_browser_main_parts_->off_the_record_browser_context(); 378 return shell_browser_main_parts_->off_the_record_browser_context();
379 } 379 }
380 380
381 } // namespace content 381 } // 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