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

Side by Side Diff: content/browser/mock_content_browser_client.cc

Issue 10414035: Move TransferNavigationResourceThrottle to content since that's where it belongs. This is a step in… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 7 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 | Annotate | Revision Log
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/browser/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void MockContentBrowserClient::SiteInstanceDeleting( 80 void MockContentBrowserClient::SiteInstanceDeleting(
81 SiteInstance* site_instance) { 81 SiteInstance* site_instance) {
82 } 82 }
83 83
84 bool MockContentBrowserClient::ShouldSwapProcessesForNavigation( 84 bool MockContentBrowserClient::ShouldSwapProcessesForNavigation(
85 const GURL& current_url, 85 const GURL& current_url,
86 const GURL& new_url) { 86 const GURL& new_url) {
87 return false; 87 return false;
88 } 88 }
89 89
90 bool MockContentBrowserClient::ShouldSwapProcessesForRedirect(
91 ResourceContext* resource_context, const GURL& current_url,
92 const GURL& new_url) {
93 return false;
94 }
95
90 std::string MockContentBrowserClient::GetCanonicalEncodingNameByAliasName( 96 std::string MockContentBrowserClient::GetCanonicalEncodingNameByAliasName(
91 const std::string& alias_name) { 97 const std::string& alias_name) {
92 return std::string(); 98 return std::string();
93 } 99 }
94 100
95 void MockContentBrowserClient::AppendExtraCommandLineSwitches( 101 void MockContentBrowserClient::AppendExtraCommandLineSwitches(
96 CommandLine* command_line, int child_process_id) { 102 CommandLine* command_line, int child_process_id) {
97 } 103 }
98 104
99 std::string MockContentBrowserClient::GetApplicationLocale() { 105 std::string MockContentBrowserClient::GetApplicationLocale() {
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 #endif 345 #endif
340 346
341 #if defined(USE_NSS) 347 #if defined(USE_NSS)
342 crypto::CryptoModuleBlockingPasswordDelegate* 348 crypto::CryptoModuleBlockingPasswordDelegate*
343 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 349 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
344 return NULL; 350 return NULL;
345 } 351 }
346 #endif 352 #endif
347 353
348 } // namespace content 354 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/renderer_host/resource_dispatcher_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698