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

Unified Diff: chrome/browser/ui/views/ssl_client_certificate_selector.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/ssl_client_certificate_selector.h
===================================================================
--- chrome/browser/ui/views/ssl_client_certificate_selector.h (revision 121706)
+++ chrome/browser/ui/views/ssl_client_certificate_selector.h (working copy)
@@ -12,7 +12,7 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "base/string16.h"
-#include "content/browser/ssl/ssl_client_auth_handler.h"
+#include "chrome/browser/ssl/ssl_client_auth_observer.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/controls/table/table_view_observer.h"
#include "ui/views/view.h"
@@ -22,6 +22,11 @@
// certificate selector only through the cross-platform interface
// chrome/browser/ssl_client_certificate_selector.h.
+namespace net {
+class SSLCertRequestInfo;
+class X509Certificate;
+}
+
namespace views {
class TableView;
class TextButton;
@@ -38,8 +43,9 @@
public:
SSLClientCertificateSelector(
TabContentsWrapper* wrapper,
+ const net::HttpNetworkSession* network_session,
net::SSLCertRequestInfo* cert_request_info,
- SSLClientAuthHandler* delegate);
+ const base::Callback<void(net::X509Certificate*)>& callback);
virtual ~SSLClientCertificateSelector();
void Init();
@@ -72,10 +78,6 @@
void CreateCertTable();
void CreateViewCertButton();
- scoped_refptr<net::SSLCertRequestInfo> cert_request_info_;
-
- scoped_refptr<SSLClientAuthHandler> delegate_;
-
scoped_ptr<CertificateSelectorTableModel> model_;
TabContentsWrapper* wrapper_;
« no previous file with comments | « chrome/browser/ui/gtk/ssl_client_certificate_selector.cc ('k') | chrome/browser/ui/views/ssl_client_certificate_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698