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

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

Issue 9801002: Simplest backport of 117417. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/963/src/
Patch Set: Created 8 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/logging.h" 9 #include "base/logging.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 bool MockContentBrowserClient::ShouldUseProcessPerSite( 83 bool MockContentBrowserClient::ShouldUseProcessPerSite(
84 BrowserContext* browser_context, const GURL& effective_url) { 84 BrowserContext* browser_context, const GURL& effective_url) {
85 return false; 85 return false;
86 } 86 }
87 87
88 bool MockContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) { 88 bool MockContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) {
89 return false; 89 return false;
90 } 90 }
91 91
92 bool MockContentBrowserClient::IsHandledURL(const GURL& url) {
93 return false;
94 }
95
92 bool MockContentBrowserClient::IsSuitableHost( 96 bool MockContentBrowserClient::IsSuitableHost(
93 RenderProcessHost* process_host, 97 RenderProcessHost* process_host,
94 const GURL& site_url) { 98 const GURL& site_url) {
95 return true; 99 return true;
96 } 100 }
97 101
98 void MockContentBrowserClient::SiteInstanceGotProcess( 102 void MockContentBrowserClient::SiteInstanceGotProcess(
99 SiteInstance* site_instance) { 103 SiteInstance* site_instance) {
100 } 104 }
101 105
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 #endif 338 #endif
335 339
336 #if defined(USE_NSS) 340 #if defined(USE_NSS)
337 crypto::CryptoModuleBlockingPasswordDelegate* 341 crypto::CryptoModuleBlockingPasswordDelegate*
338 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 342 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
339 return NULL; 343 return NULL;
340 } 344 }
341 #endif 345 #endif
342 346
343 } // namespace content 347 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698