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

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

Issue 7708010: Add more files to content_unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: virtual dtor Created 9 years, 4 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
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/file_path.h" 9 #include "base/file_path.h"
10 #include "content/browser/webui/empty_web_ui_factory.h" 10 #include "content/browser/webui/empty_web_ui_factory.h"
(...skipping 26 matching lines...) Expand all
37 WebUIFactory* MockContentBrowserClient::GetWebUIFactory() { 37 WebUIFactory* MockContentBrowserClient::GetWebUIFactory() {
38 // Return an empty factory so callsites don't have to check for NULL. 38 // Return an empty factory so callsites don't have to check for NULL.
39 return EmptyWebUIFactory::Get(); 39 return EmptyWebUIFactory::Get();
40 } 40 }
41 41
42 GURL MockContentBrowserClient::GetEffectiveURL( 42 GURL MockContentBrowserClient::GetEffectiveURL(
43 content::BrowserContext* browser_context, const GURL& url) { 43 content::BrowserContext* browser_context, const GURL& url) {
44 return GURL(); 44 return GURL();
45 } 45 }
46 46
47 bool MockContentBrowserClient::ShouldUseProcessPerSite(
48 BrowserContext* browser_context, const GURL& effective_url) {
49 return false;
50 }
51
47 bool MockContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) { 52 bool MockContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) {
48 return false; 53 return false;
49 } 54 }
50 55
51 std::string MockContentBrowserClient::GetCanonicalEncodingNameByAliasName( 56 std::string MockContentBrowserClient::GetCanonicalEncodingNameByAliasName(
52 const std::string& alias_name) { 57 const std::string& alias_name) {
53 return std::string(); 58 return std::string();
54 } 59 }
55 60
56 void MockContentBrowserClient::AppendExtraCommandLineSwitches( 61 void MockContentBrowserClient::AppendExtraCommandLineSwitches(
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 #endif 240 #endif
236 241
237 #if defined(USE_NSS) 242 #if defined(USE_NSS)
238 crypto::CryptoModuleBlockingPasswordDelegate* 243 crypto::CryptoModuleBlockingPasswordDelegate*
239 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 244 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
240 return NULL; 245 return NULL;
241 } 246 }
242 #endif 247 #endif
243 248
244 } // namespace content 249 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698