| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 int render_view_id, | 88 int render_view_id, |
| 89 int cert_error, | 89 int cert_error, |
| 90 const net::SSLInfo& ssl_info, | 90 const net::SSLInfo& ssl_info, |
| 91 const GURL& request_url, | 91 const GURL& request_url, |
| 92 bool overridable, | 92 bool overridable, |
| 93 const base::Callback<void(bool)>& callback, | 93 const base::Callback<void(bool)>& callback, |
| 94 bool* cancel_request) OVERRIDE; | 94 bool* cancel_request) OVERRIDE; |
| 95 virtual void SelectClientCertificate( | 95 virtual void SelectClientCertificate( |
| 96 int render_process_id, | 96 int render_process_id, |
| 97 int render_view_id, | 97 int render_view_id, |
| 98 SSLClientAuthHandler* handler) OVERRIDE; | 98 const net::HttpNetworkSession* network_session, |
| 99 net::SSLCertRequestInfo* cert_request_info, |
| 100 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; |
| 99 virtual void AddNewCertificate( | 101 virtual void AddNewCertificate( |
| 100 net::URLRequest* request, | 102 net::URLRequest* request, |
| 101 net::X509Certificate* cert, | 103 net::X509Certificate* cert, |
| 102 int render_process_id, | 104 int render_process_id, |
| 103 int render_view_id) OVERRIDE; | 105 int render_view_id) OVERRIDE; |
| 104 virtual void RequestDesktopNotificationPermission( | 106 virtual void RequestDesktopNotificationPermission( |
| 105 const GURL& source_origin, | 107 const GURL& source_origin, |
| 106 int callback_context, | 108 int callback_context, |
| 107 int render_process_id, | 109 int render_process_id, |
| 108 int render_view_id) OVERRIDE; | 110 int render_view_id) OVERRIDE; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 private: | 165 private: |
| 164 // Temporary directory for GetDefaultDownloadDirectory. | 166 // Temporary directory for GetDefaultDownloadDirectory. |
| 165 ScopedTempDir download_dir_; | 167 ScopedTempDir download_dir_; |
| 166 | 168 |
| 167 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 169 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
| 168 }; | 170 }; |
| 169 | 171 |
| 170 } // namespace content | 172 } // namespace content |
| 171 | 173 |
| 172 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 174 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |