OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 int cert_error, | 50 int cert_error, |
51 const net::SSLInfo& ssl_info, | 51 const net::SSLInfo& ssl_info, |
52 const GURL& request_url, | 52 const GURL& request_url, |
53 content::ResourceType resource_type, | 53 content::ResourceType resource_type, |
54 bool overridable, | 54 bool overridable, |
55 bool strict_enforcement, | 55 bool strict_enforcement, |
56 bool expired_previous_decision, | 56 bool expired_previous_decision, |
57 const base::Callback<void(bool)>& callback, | 57 const base::Callback<void(bool)>& callback, |
58 content::CertificateRequestResultType* result) override; | 58 content::CertificateRequestResultType* result) override; |
59 void SelectClientCertificate( | 59 void SelectClientCertificate( |
60 int render_process_id, | 60 content::WebContents* web_contents, |
61 int render_frame_id, | |
62 net::SSLCertRequestInfo* cert_request_info, | 61 net::SSLCertRequestInfo* cert_request_info, |
63 const base::Callback<void(net::X509Certificate*)>& callback) override; | 62 scoped_ptr<content::ClientCertificateDelegate> delegate) override; |
64 bool CanCreateWindow( | 63 bool CanCreateWindow( |
65 const GURL& opener_url, | 64 const GURL& opener_url, |
66 const GURL& opener_top_level_frame_url, | 65 const GURL& opener_top_level_frame_url, |
67 const GURL& source_origin, | 66 const GURL& source_origin, |
68 WindowContainerType container_type, | 67 WindowContainerType container_type, |
69 const GURL& target_url, | 68 const GURL& target_url, |
70 const content::Referrer& referrer, | 69 const content::Referrer& referrer, |
71 WindowOpenDisposition disposition, | 70 WindowOpenDisposition disposition, |
72 const blink::WebWindowFeatures& features, | 71 const blink::WebWindowFeatures& features, |
73 bool user_gesture, | 72 bool user_gesture, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 105 |
107 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 106 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
108 | 107 |
109 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 108 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
110 }; | 109 }; |
111 | 110 |
112 } // namespace shell | 111 } // namespace shell |
113 } // namespace chromecast | 112 } // namespace chromecast |
114 | 113 |
115 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 114 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |