| 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 net::X509Certificate* cert, | 204 net::X509Certificate* cert, |
| 205 int render_process_id, | 205 int render_process_id, |
| 206 int render_view_id) { | 206 int render_view_id) { |
| 207 } | 207 } |
| 208 | 208 |
| 209 void MockContentBrowserClient::RequestMediaAccessPermission( | 209 void MockContentBrowserClient::RequestMediaAccessPermission( |
| 210 const MediaStreamRequest* request, | 210 const MediaStreamRequest* request, |
| 211 const MediaResponseCallback& callback) { | 211 const MediaResponseCallback& callback) { |
| 212 } | 212 } |
| 213 | 213 |
| 214 MediaObserver* MockContentBrowserClient::GetMediaObserver() { |
| 215 return NULL; |
| 216 } |
| 217 |
| 214 void MockContentBrowserClient::RequestDesktopNotificationPermission( | 218 void MockContentBrowserClient::RequestDesktopNotificationPermission( |
| 215 const GURL& source_origin, | 219 const GURL& source_origin, |
| 216 int callback_context, | 220 int callback_context, |
| 217 int render_process_id, | 221 int render_process_id, |
| 218 int render_view_id) { | 222 int render_view_id) { |
| 219 } | 223 } |
| 220 | 224 |
| 221 WebKit::WebNotificationPresenter::Permission | 225 WebKit::WebNotificationPresenter::Permission |
| 222 MockContentBrowserClient::CheckDesktopNotificationPermission( | 226 MockContentBrowserClient::CheckDesktopNotificationPermission( |
| 223 const GURL& source_origin, | 227 const GURL& source_origin, |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 #endif | 335 #endif |
| 332 | 336 |
| 333 #if defined(USE_NSS) | 337 #if defined(USE_NSS) |
| 334 crypto::CryptoModuleBlockingPasswordDelegate* | 338 crypto::CryptoModuleBlockingPasswordDelegate* |
| 335 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 339 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 336 return NULL; | 340 return NULL; |
| 337 } | 341 } |
| 338 #endif | 342 #endif |
| 339 | 343 |
| 340 } // namespace content | 344 } // namespace content |
| OLD | NEW |