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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 const content::ResourceContext& context, | 229 const content::ResourceContext& context, |
230 int render_process_id) { | 230 int render_process_id) { |
231 return true; | 231 return true; |
232 } | 232 } |
233 | 233 |
234 std::string MockContentBrowserClient::GetWorkerProcessTitle( | 234 std::string MockContentBrowserClient::GetWorkerProcessTitle( |
235 const GURL& url, const content::ResourceContext& context) { | 235 const GURL& url, const content::ResourceContext& context) { |
236 return std::string(); | 236 return std::string(); |
237 } | 237 } |
238 | 238 |
239 ResourceDispatcherHost* MockContentBrowserClient::GetResourceDispatcherHost() { | 239 void MockContentBrowserClient::ResourceDispatcherHostCreated() { |
240 return NULL; | |
241 } | 240 } |
242 | 241 |
243 ui::Clipboard* MockContentBrowserClient::GetClipboard() { | 242 ui::Clipboard* MockContentBrowserClient::GetClipboard() { |
244 static ui::Clipboard clipboard; | 243 static ui::Clipboard clipboard; |
245 return &clipboard; | 244 return &clipboard; |
246 } | 245 } |
247 | 246 |
248 MHTMLGenerationManager* MockContentBrowserClient::GetMHTMLGenerationManager() { | 247 MHTMLGenerationManager* MockContentBrowserClient::GetMHTMLGenerationManager() { |
249 return NULL; | 248 return NULL; |
250 } | 249 } |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 #endif | 312 #endif |
314 | 313 |
315 #if defined(USE_NSS) | 314 #if defined(USE_NSS) |
316 crypto::CryptoModuleBlockingPasswordDelegate* | 315 crypto::CryptoModuleBlockingPasswordDelegate* |
317 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 316 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
318 return NULL; | 317 return NULL; |
319 } | 318 } |
320 #endif | 319 #endif |
321 | 320 |
322 } // namespace content | 321 } // namespace content |
OLD | NEW |