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

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

Issue 7537025: Add new Content settings type AUTO-SUBMIT-CERTIFICATE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // the certificate error is severe and the user isn't allowed to proceed. The 166 // the certificate error is severe and the user isn't allowed to proceed. The
167 // embedder can call the callback asynchronously. 167 // embedder can call the callback asynchronously.
168 virtual void AllowCertificateError( 168 virtual void AllowCertificateError(
169 SSLCertErrorHandler* handler, 169 SSLCertErrorHandler* handler,
170 bool overridable, 170 bool overridable,
171 Callback2<SSLCertErrorHandler*, bool>::Type* callback) = 0; 171 Callback2<SSLCertErrorHandler*, bool>::Type* callback) = 0;
172 172
173 // Shows the user a SSL client certificate selection dialog. When the user has 173 // Shows the user a SSL client certificate selection dialog. When the user has
174 // made a selection, the dialog will report back to |delegate|. |delegate| is 174 // made a selection, the dialog will report back to |delegate|. |delegate| is
175 // notified when the dialog closes in call cases; if the user cancels the 175 // notified when the dialog closes in call cases; if the user cancels the
176 // dialog, we call with a NULL certificate. 176 // dialog, we call with a NULL certificate.
wtc 2011/08/11 18:33:55 Please update this comment -- it still mentions "d
markusheintz_ 2011/08/15 19:09:04 Done.
177 virtual void ShowClientCertificateRequestDialog( 177 virtual void SelectClientCertificate(
178 int render_process_id, 178 int render_process_id,
179 int render_view_id, 179 int render_view_id,
180 SSLClientAuthHandler* handler) = 0; 180 SSLClientAuthHandler* handler) = 0;
181 181
182 // Adds a newly-generated client cert. The embedder should ensure that there's 182 // Adds a newly-generated client cert. The embedder should ensure that there's
183 // a private key for the cert, displays the cert to the user, and adds it upon 183 // a private key for the cert, displays the cert to the user, and adds it upon
184 // user approval. 184 // user approval.
185 virtual void AddNewCertificate( 185 virtual void AddNewCertificate(
186 net::URLRequest* request, 186 net::URLRequest* request,
187 net::X509Certificate* cert, 187 net::X509Certificate* cert,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // This is called on a worker thread. 272 // This is called on a worker thread.
273 virtual 273 virtual
274 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 274 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
275 const GURL& url) = 0; 275 const GURL& url) = 0;
276 #endif 276 #endif
277 }; 277 };
278 278
279 } // namespace content 279 } // namespace content
280 280
281 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 281 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698