| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 void MockContentBrowserClient::ShowItemInFolder(const FilePath& path) { | 180 void MockContentBrowserClient::ShowItemInFolder(const FilePath& path) { |
| 181 } | 181 } |
| 182 | 182 |
| 183 void MockContentBrowserClient::AllowCertificateError( | 183 void MockContentBrowserClient::AllowCertificateError( |
| 184 int render_process_id, | 184 int render_process_id, |
| 185 int render_view_id, | 185 int render_view_id, |
| 186 int cert_error, | 186 int cert_error, |
| 187 const net::SSLInfo& ssl_info, | 187 const net::SSLInfo& ssl_info, |
| 188 const GURL& request_url, | 188 const GURL& request_url, |
| 189 bool overridable, | 189 bool overridable, |
| 190 bool strict_enforcement, |
| 190 const base::Callback<void(bool)>& callback, | 191 const base::Callback<void(bool)>& callback, |
| 191 bool* cancel_request) { | 192 bool* cancel_request) { |
| 192 } | 193 } |
| 193 | 194 |
| 194 void MockContentBrowserClient::SelectClientCertificate( | 195 void MockContentBrowserClient::SelectClientCertificate( |
| 195 int render_process_id, | 196 int render_process_id, |
| 196 int render_view_id, | 197 int render_view_id, |
| 197 const net::HttpNetworkSession* network_session, | 198 const net::HttpNetworkSession* network_session, |
| 198 net::SSLCertRequestInfo* cert_request_info, | 199 net::SSLCertRequestInfo* cert_request_info, |
| 199 const base::Callback<void(net::X509Certificate*)>& callback) { | 200 const base::Callback<void(net::X509Certificate*)>& callback) { |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 #endif | 339 #endif |
| 339 | 340 |
| 340 #if defined(USE_NSS) | 341 #if defined(USE_NSS) |
| 341 crypto::CryptoModuleBlockingPasswordDelegate* | 342 crypto::CryptoModuleBlockingPasswordDelegate* |
| 342 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 343 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
| 343 return NULL; | 344 return NULL; |
| 344 } | 345 } |
| 345 #endif | 346 #endif |
| 346 | 347 |
| 347 } // namespace content | 348 } // namespace content |
| OLD | NEW |