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

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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | content/browser/mock_content_browser_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 166
167 // Informs the embedder that a certificate error has occured. If overridable 167 // Informs the embedder that a certificate error has occured. If overridable
168 // is true, the user can ignore the error and continue. If it's false, then 168 // is true, the user can ignore the error and continue. If it's false, then
169 // the certificate error is severe and the user isn't allowed to proceed. The 169 // the certificate error is severe and the user isn't allowed to proceed. The
170 // embedder can call the callback asynchronously. 170 // embedder can call the callback asynchronously.
171 virtual void AllowCertificateError( 171 virtual void AllowCertificateError(
172 SSLCertErrorHandler* handler, 172 SSLCertErrorHandler* handler,
173 bool overridable, 173 bool overridable,
174 Callback2<SSLCertErrorHandler*, bool>::Type* callback) = 0; 174 Callback2<SSLCertErrorHandler*, bool>::Type* callback) = 0;
175 175
176 // Shows the user a SSL client certificate selection dialog. When the user has 176 // Selects a SSL client certificate and returns it to the |handler|. If no
177 // made a selection, the dialog will report back to |delegate|. |delegate| is 177 // certificate was selected NULL is returned to the |handler|.
178 // notified when the dialog closes in call cases; if the user cancels the 178 virtual void SelectClientCertificate(
179 // dialog, we call with a NULL certificate.
180 virtual void ShowClientCertificateRequestDialog(
181 int render_process_id, 179 int render_process_id,
182 int render_view_id, 180 int render_view_id,
183 SSLClientAuthHandler* handler) = 0; 181 SSLClientAuthHandler* handler) = 0;
184 182
185 // Adds a newly-generated client cert. The embedder should ensure that there's 183 // Adds a newly-generated client cert. The embedder should ensure that there's
186 // a private key for the cert, displays the cert to the user, and adds it upon 184 // a private key for the cert, displays the cert to the user, and adds it upon
187 // user approval. 185 // user approval.
188 virtual void AddNewCertificate( 186 virtual void AddNewCertificate(
189 net::URLRequest* request, 187 net::URLRequest* request,
190 net::X509Certificate* cert, 188 net::X509Certificate* cert,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 // This is called on a worker thread. 277 // This is called on a worker thread.
280 virtual 278 virtual
281 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 279 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
282 const GURL& url) = 0; 280 const GURL& url) = 0;
283 #endif 281 #endif
284 }; 282 };
285 283
286 } // namespace content 284 } // namespace content
287 285
288 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 286 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | content/browser/mock_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698