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

Unified Diff: chrome/browser/ssl/ssl_client_certificate_selector.h

Issue 10916348: Switch SSLTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ssl/ssl_add_cert_handler.cc ('k') | chrome/browser/ssl/ssl_tab_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_client_certificate_selector.h
diff --git a/chrome/browser/ssl_client_certificate_selector.h b/chrome/browser/ssl/ssl_client_certificate_selector.h
similarity index 77%
rename from chrome/browser/ssl_client_certificate_selector.h
rename to chrome/browser/ssl/ssl_client_certificate_selector.h
index f70a741cc64472b6e05e406b0480838129f348ad..1568320591eefc49de7c59b409cb2f440bf87ffa 100644
--- a/chrome/browser/ssl_client_certificate_selector.h
+++ b/chrome/browser/ssl/ssl_client_certificate_selector.h
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
-#define CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
+#ifndef CHROME_BROWSER_SSL_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
+#define CHROME_BROWSER_SSL_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
#include "base/callback_forward.h"
-class TabContents;
+namespace content {
+class WebContents;
+}
namespace net {
class HttpNetworkSession;
@@ -23,11 +25,11 @@ namespace chrome {
// when the dialog closes in call cases; if the user cancels the dialog, we call
// with a NULL certificate.
void ShowSSLClientCertificateSelector(
- TabContents* tab_contents,
+ content::WebContents* contents,
const net::HttpNetworkSession* network_session,
net::SSLCertRequestInfo* cert_request_info,
const base::Callback<void(net::X509Certificate*)>& callback);
} // namespace chrome
-#endif // CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
+#endif // CHROME_BROWSER_SSL_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
« no previous file with comments | « chrome/browser/ssl/ssl_add_cert_handler.cc ('k') | chrome/browser/ssl/ssl_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698