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

Unified Diff: content/browser/ssl/ssl_client_auth_notification_details.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: content/browser/ssl/ssl_client_auth_notification_details.h
===================================================================
--- content/browser/ssl/ssl_client_auth_notification_details.h (revision 121706)
+++ content/browser/ssl/ssl_client_auth_notification_details.h (working copy)
@@ -1,36 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_NOTIFICATION_DETAILS_H_
-#define CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_NOTIFICATION_DETAILS_H_
-
-#include "base/basictypes.h"
-
-namespace net {
-class X509Certificate;
-class SSLCertRequestInfo;
-}
-class SSLClientAuthHandler;
-
-class SSLClientAuthNotificationDetails {
- public:
- SSLClientAuthNotificationDetails(
- const net::SSLCertRequestInfo* cert_request_info,
- const SSLClientAuthHandler* handler,
- net::X509Certificate* selected_cert);
-
- bool IsSameHost(const net::SSLCertRequestInfo* cert_request_info) const;
- bool IsSameHandler(const SSLClientAuthHandler* handler) const;
- net::X509Certificate* selected_cert() const { return selected_cert_; }
-
- private:
- // Notifications are synchronous, so we don't need to hold our own references.
- const net::SSLCertRequestInfo* cert_request_info_;
- const SSLClientAuthHandler* handler_;
- net::X509Certificate* selected_cert_;
-
- DISALLOW_COPY_AND_ASSIGN(SSLClientAuthNotificationDetails);
-};
-
-#endif // CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_NOTIFICATION_DETAILS_H_
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler_mock.cc ('k') | content/browser/ssl/ssl_client_auth_notification_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698