| 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/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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 void MockContentBrowserClient::ClearCache(RenderViewHost* rvh) { | 220 void MockContentBrowserClient::ClearCache(RenderViewHost* rvh) { |
| 221 } | 221 } |
| 222 | 222 |
| 223 void MockContentBrowserClient::ClearCookies(RenderViewHost* rvh) { | 223 void MockContentBrowserClient::ClearCookies(RenderViewHost* rvh) { |
| 224 } | 224 } |
| 225 | 225 |
| 226 FilePath MockContentBrowserClient::GetDefaultDownloadDirectory() { | 226 FilePath MockContentBrowserClient::GetDefaultDownloadDirectory() { |
| 227 return FilePath(); | 227 return FilePath(); |
| 228 } | 228 } |
| 229 | 229 |
| 230 net::URLRequestContextGetter* |
| 231 MockContentBrowserClient::GetDefaultRequestContextDeprecatedCrBug64339() { |
| 232 return NULL; |
| 233 } |
| 234 |
| 230 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 235 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 231 int MockContentBrowserClient::GetCrashSignalFD( | 236 int MockContentBrowserClient::GetCrashSignalFD( |
| 232 const std::string& process_type) { | 237 const std::string& process_type) { |
| 233 return -1; | 238 return -1; |
| 234 } | 239 } |
| 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 |
| OLD | NEW |