Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Side by Side Diff: content/browser/mock_content_browser_client.h

Issue 9384014: Remove knowledge about SSLClientAuthHandler from chrome. Instead a callback is given to the embed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments+sync Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698