| OLD | NEW |
| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 GURL MockContentBrowserClient::GetEffectiveURL( | 46 GURL MockContentBrowserClient::GetEffectiveURL( |
| 47 content::BrowserContext* browser_context, const GURL& url) { | 47 content::BrowserContext* browser_context, const GURL& url) { |
| 48 return url; | 48 return url; |
| 49 } | 49 } |
| 50 | 50 |
| 51 bool MockContentBrowserClient::ShouldUseProcessPerSite( | 51 bool MockContentBrowserClient::ShouldUseProcessPerSite( |
| 52 BrowserContext* browser_context, const GURL& effective_url) { | 52 BrowserContext* browser_context, const GURL& effective_url) { |
| 53 return false; | 53 return false; |
| 54 } | 54 } |
| 55 | 55 |
| 56 bool MockContentBrowserClient::IsURLSameAsAnySiteInstance(const GURL& url) { | |
| 57 return false; | |
| 58 } | |
| 59 | |
| 60 bool MockContentBrowserClient::IsHandledURL(const GURL& url) { | 56 bool MockContentBrowserClient::IsHandledURL(const GURL& url) { |
| 61 return false; | 57 return false; |
| 62 } | 58 } |
| 63 | 59 |
| 64 bool MockContentBrowserClient::IsSuitableHost( | 60 bool MockContentBrowserClient::IsSuitableHost( |
| 65 RenderProcessHost* process_host, | 61 RenderProcessHost* process_host, |
| 66 const GURL& site_url) { | 62 const GURL& site_url) { |
| 67 return true; | 63 return true; |
| 68 } | 64 } |
| 69 | 65 |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 #endif | 301 #endif |
| 306 | 302 |
| 307 #if defined(USE_NSS) | 303 #if defined(USE_NSS) |
| 308 crypto::CryptoModuleBlockingPasswordDelegate* | 304 crypto::CryptoModuleBlockingPasswordDelegate* |
| 309 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 305 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 310 return NULL; | 306 return NULL; |
| 311 } | 307 } |
| 312 #endif | 308 #endif |
| 313 | 309 |
| 314 } // namespace content | 310 } // namespace content |
| OLD | NEW |