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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 bool worker) { | 228 bool worker) { |
229 } | 229 } |
230 | 230 |
231 void MockContentBrowserClient::CancelDesktopNotification( | 231 void MockContentBrowserClient::CancelDesktopNotification( |
232 int render_process_id, | 232 int render_process_id, |
233 int render_view_id, | 233 int render_view_id, |
234 int notification_id) { | 234 int notification_id) { |
235 } | 235 } |
236 | 236 |
237 bool MockContentBrowserClient::CanCreateWindow( | 237 bool MockContentBrowserClient::CanCreateWindow( |
| 238 const GURL& opener_url, |
238 const GURL& source_origin, | 239 const GURL& source_origin, |
239 WindowContainerType container_type, | 240 WindowContainerType container_type, |
240 ResourceContext* context, | 241 ResourceContext* context, |
241 int render_process_id) { | 242 int render_process_id) { |
242 return true; | 243 return true; |
243 } | 244 } |
244 | 245 |
245 std::string MockContentBrowserClient::GetWorkerProcessTitle( | 246 std::string MockContentBrowserClient::GetWorkerProcessTitle( |
246 const GURL& url, ResourceContext* context) { | 247 const GURL& url, ResourceContext* context) { |
247 return std::string(); | 248 return std::string(); |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 #endif | 326 #endif |
326 | 327 |
327 #if defined(USE_NSS) | 328 #if defined(USE_NSS) |
328 crypto::CryptoModuleBlockingPasswordDelegate* | 329 crypto::CryptoModuleBlockingPasswordDelegate* |
329 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 330 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
330 return NULL; | 331 return NULL; |
331 } | 332 } |
332 #endif | 333 #endif |
333 | 334 |
334 } // namespace content | 335 } // namespace content |
OLD | NEW |