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

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

Issue 596873002: Remove SSLClientAuthHandler's RDH dependency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 struct WebWindowFeatures; 50 struct WebWindowFeatures;
51 } 51 }
52 52
53 namespace gfx { 53 namespace gfx {
54 class ImageSkia; 54 class ImageSkia;
55 } 55 }
56 56
57 namespace net { 57 namespace net {
58 class CookieOptions; 58 class CookieOptions;
59 class CookieStore; 59 class CookieStore;
60 class HttpNetworkSession;
61 class NetLog; 60 class NetLog;
62 class SSLCertRequestInfo; 61 class SSLCertRequestInfo;
63 class SSLInfo; 62 class SSLInfo;
64 class URLRequest; 63 class URLRequest;
65 class URLRequestContext; 64 class URLRequestContext;
66 class URLRequestContextGetter; 65 class URLRequestContextGetter;
67 class X509Certificate; 66 class X509Certificate;
68 } 67 }
69 68
70 namespace sandbox { 69 namespace sandbox {
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 bool strict_enforcement, 386 bool strict_enforcement,
388 bool expired_previous_decision, 387 bool expired_previous_decision,
389 const base::Callback<void(bool)>& callback, 388 const base::Callback<void(bool)>& callback,
390 CertificateRequestResultType* result) {} 389 CertificateRequestResultType* result) {}
391 390
392 // Selects a SSL client certificate and returns it to the |callback|. If no 391 // Selects a SSL client certificate and returns it to the |callback|. If no
393 // certificate was selected NULL is returned to the |callback|. 392 // certificate was selected NULL is returned to the |callback|.
394 virtual void SelectClientCertificate( 393 virtual void SelectClientCertificate(
395 int render_process_id, 394 int render_process_id,
396 int render_frame_id, 395 int render_frame_id,
397 const net::HttpNetworkSession* network_session,
398 net::SSLCertRequestInfo* cert_request_info, 396 net::SSLCertRequestInfo* cert_request_info,
399 const base::Callback<void(net::X509Certificate*)>& callback) {} 397 const base::Callback<void(net::X509Certificate*)>& callback);
400 398
401 // Adds a new installable certificate or private key. 399 // Adds a new installable certificate or private key.
402 // Typically used to install an X.509 user certificate. 400 // Typically used to install an X.509 user certificate.
403 // Note that it's up to the embedder to verify that the data is 401 // Note that it's up to the embedder to verify that the data is
404 // well-formed. |cert_data| will be NULL if |cert_size| is 0. 402 // well-formed. |cert_data| will be NULL if |cert_size| is 0.
405 virtual void AddCertificate(net::CertificateMimeType cert_type, 403 virtual void AddCertificate(net::CertificateMimeType cert_type,
406 const void* cert_data, 404 const void* cert_data,
407 size_t cert_size, 405 size_t cert_size,
408 int render_process_id, 406 int render_process_id,
409 int render_frame_id) {} 407 int render_frame_id) {}
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 // camera. Note that this does not query the user. |type| must be 645 // camera. Note that this does not query the user. |type| must be
648 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE. 646 // MEDIA_DEVICE_AUDIO_CAPTURE or MEDIA_DEVICE_VIDEO_CAPTURE.
649 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context, 647 virtual bool CheckMediaAccessPermission(BrowserContext* browser_context,
650 const GURL& security_origin, 648 const GURL& security_origin,
651 MediaStreamType type); 649 MediaStreamType type);
652 }; 650 };
653 651
654 } // namespace content 652 } // namespace content
655 653
656 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 654 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698