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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 795773002: Un-refcount SSLClientAuthHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 bool expired_previous_decision, 395 bool expired_previous_decision,
396 const base::Callback<void(bool)>& callback, 396 const base::Callback<void(bool)>& callback,
397 CertificateRequestResultType* result) {} 397 CertificateRequestResultType* result) {}
398 398
399 // Selects a SSL client certificate and returns it to the |callback|. If no 399 // Selects a SSL client certificate and returns it to the |callback|. If no
400 // certificate was selected NULL is returned to the |callback|. 400 // certificate was selected NULL is returned to the |callback|.
401 virtual void SelectClientCertificate( 401 virtual void SelectClientCertificate(
402 int render_process_id, 402 int render_process_id,
403 int render_frame_id, 403 int render_frame_id,
404 net::SSLCertRequestInfo* cert_request_info, 404 net::SSLCertRequestInfo* cert_request_info,
405 const base::Callback<void(net::X509Certificate*)>& callback) {} 405 const base::Callback<void(net::X509Certificate*)>& callback);
406 406
407 // Adds a new installable certificate or private key. 407 // Adds a new installable certificate or private key.
408 // Typically used to install an X.509 user certificate. 408 // Typically used to install an X.509 user certificate.
409 // Note that it's up to the embedder to verify that the data is 409 // Note that it's up to the embedder to verify that the data is
410 // well-formed. |cert_data| will be NULL if |cert_size| is 0. 410 // well-formed. |cert_data| will be NULL if |cert_size| is 0.
411 virtual void AddCertificate(net::CertificateMimeType cert_type, 411 virtual void AddCertificate(net::CertificateMimeType cert_type,
412 const void* cert_data, 412 const void* cert_data,
413 size_t cert_size, 413 size_t cert_size,
414 int render_process_id, 414 int render_process_id,
415 int render_frame_id) {} 415 int render_frame_id) {}
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 620 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
621 // implementation. Return NULL to disable external surface video. 621 // implementation. Return NULL to disable external surface video.
622 virtual ExternalVideoSurfaceContainer* 622 virtual ExternalVideoSurfaceContainer*
623 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 623 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
624 #endif 624 #endif
625 }; 625 };
626 626
627 } // namespace content 627 } // namespace content
628 628
629 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 629 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698