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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 return NULL; | 251 return NULL; |
252 } | 252 } |
253 | 253 |
254 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 254 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
255 int MockContentBrowserClient::GetCrashSignalFD( | 255 int MockContentBrowserClient::GetCrashSignalFD( |
256 const std::string& process_type) { | 256 const std::string& process_type) { |
257 return -1; | 257 return -1; |
258 } | 258 } |
259 #endif | 259 #endif |
260 | 260 |
| 261 #if defined(OS_WIN) |
| 262 const wchar_t* MockContentBrowserClient::GetResourceDllName() { |
| 263 return NULL; |
| 264 } |
| 265 #endif |
| 266 |
261 #if defined(USE_NSS) | 267 #if defined(USE_NSS) |
262 crypto::CryptoModuleBlockingPasswordDelegate* | 268 crypto::CryptoModuleBlockingPasswordDelegate* |
263 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 269 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
264 return NULL; | 270 return NULL; |
265 } | 271 } |
266 #endif | 272 #endif |
267 | 273 |
268 } // namespace content | 274 } // namespace content |
OLD | NEW |