OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |