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

Side by Side Diff: chrome/browser/ui/gtk/ssl_client_certificate_selector.cc

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/ssl/ssl_client_certificate_selector.h" 5 #include "chrome/browser/ssl/ssl_client_certificate_selector.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 27 matching lines...) Expand all
38 enum { 38 enum {
39 RESPONSE_SHOW_CERT_INFO = 1, 39 RESPONSE_SHOW_CERT_INFO = 1,
40 }; 40 };
41 41
42 /////////////////////////////////////////////////////////////////////////////// 42 ///////////////////////////////////////////////////////////////////////////////
43 // SSLClientCertificateSelector 43 // SSLClientCertificateSelector
44 44
45 class SSLClientCertificateSelector : public SSLClientAuthObserver, 45 class SSLClientCertificateSelector : public SSLClientAuthObserver,
46 public ConstrainedWindowGtkDelegate { 46 public ConstrainedWindowGtkDelegate {
47 public: 47 public:
48 explicit SSLClientCertificateSelector( 48 SSLClientCertificateSelector(
49 WebContents* parent, 49 WebContents* parent,
50 const net::HttpNetworkSession* network_session, 50 const net::HttpNetworkSession* network_session,
51 net::SSLCertRequestInfo* cert_request_info, 51 net::SSLCertRequestInfo* cert_request_info,
52 const base::Callback<void(net::X509Certificate*)>& callback); 52 const base::Callback<void(net::X509Certificate*)>& callback);
53 ~SSLClientCertificateSelector(); 53 ~SSLClientCertificateSelector();
54 54
55 void Show(); 55 void Show();
56 56
57 // SSLClientAuthObserver implementation: 57 // SSLClientAuthObserver implementation:
58 virtual void OnCertSelectedByNotification(); 58 virtual void OnCertSelectedByNotification();
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 content::WebContents* contents, 388 content::WebContents* contents,
389 const net::HttpNetworkSession* network_session, 389 const net::HttpNetworkSession* network_session,
390 net::SSLCertRequestInfo* cert_request_info, 390 net::SSLCertRequestInfo* cert_request_info,
391 const base::Callback<void(net::X509Certificate*)>& callback) { 391 const base::Callback<void(net::X509Certificate*)>& callback) {
392 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 392 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
393 (new SSLClientCertificateSelector( 393 (new SSLClientCertificateSelector(
394 contents, network_session, cert_request_info, callback))->Show(); 394 contents, network_session, cert_request_info, callback))->Show();
395 } 395 }
396 396
397 } // namespace chrome 397 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698