| 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 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; | 90 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; |
| 91 virtual void OpenItem(const FilePath& path) OVERRIDE; | 91 virtual void OpenItem(const FilePath& path) OVERRIDE; |
| 92 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; | 92 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; |
| 93 virtual void AllowCertificateError( | 93 virtual void AllowCertificateError( |
| 94 int render_process_id, | 94 int render_process_id, |
| 95 int render_view_id, | 95 int render_view_id, |
| 96 int cert_error, | 96 int cert_error, |
| 97 const net::SSLInfo& ssl_info, | 97 const net::SSLInfo& ssl_info, |
| 98 const GURL& request_url, | 98 const GURL& request_url, |
| 99 bool overridable, | 99 bool overridable, |
| 100 bool strict_enforcement, |
| 100 const base::Callback<void(bool)>& callback, | 101 const base::Callback<void(bool)>& callback, |
| 101 bool* cancel_request) OVERRIDE; | 102 bool* cancel_request) OVERRIDE; |
| 102 virtual void SelectClientCertificate( | 103 virtual void SelectClientCertificate( |
| 103 int render_process_id, | 104 int render_process_id, |
| 104 int render_view_id, | 105 int render_view_id, |
| 105 const net::HttpNetworkSession* network_session, | 106 const net::HttpNetworkSession* network_session, |
| 106 net::SSLCertRequestInfo* cert_request_info, | 107 net::SSLCertRequestInfo* cert_request_info, |
| 107 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; | 108 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; |
| 108 virtual void AddNewCertificate( | 109 virtual void AddNewCertificate( |
| 109 net::URLRequest* request, | 110 net::URLRequest* request, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 private: | 182 private: |
| 182 // Temporary directory for GetDefaultDownloadDirectory. | 183 // Temporary directory for GetDefaultDownloadDirectory. |
| 183 ScopedTempDir download_dir_; | 184 ScopedTempDir download_dir_; |
| 184 | 185 |
| 185 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 186 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
| 186 }; | 187 }; |
| 187 | 188 |
| 188 } // namespace content | 189 } // namespace content |
| 189 | 190 |
| 190 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 191 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |