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

Unified Diff: content/browser/ssl/ssl_client_auth_notification_details.cc

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
« no previous file with comments | « content/browser/ssl/ssl_client_auth_notification_details.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_client_auth_notification_details.cc
===================================================================
--- content/browser/ssl/ssl_client_auth_notification_details.cc (revision 121706)
+++ content/browser/ssl/ssl_client_auth_notification_details.cc (working copy)
@@ -1,28 +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.
-
-#include "content/browser/ssl/ssl_client_auth_notification_details.h"
-
-#include "net/base/ssl_cert_request_info.h"
-
-SSLClientAuthNotificationDetails::SSLClientAuthNotificationDetails(
- const net::SSLCertRequestInfo* cert_request_info,
- const SSLClientAuthHandler* handler,
- net::X509Certificate* selected_cert)
- : cert_request_info_(cert_request_info),
- handler_(handler),
- selected_cert_(selected_cert) {
-}
-
-bool SSLClientAuthNotificationDetails::IsSameHost(
- const net::SSLCertRequestInfo* cert_request_info) const {
- // TODO(mattm): should we also compare the DistinguishedNames, or is just
- // matching host&port sufficient?
- return cert_request_info_->host_and_port == cert_request_info->host_and_port;
-}
-
-bool SSLClientAuthNotificationDetails::IsSameHandler(
- const SSLClientAuthHandler* handler) const {
- return handler_ == handler;
-}
« no previous file with comments | « content/browser/ssl/ssl_client_auth_notification_details.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698