| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 int cert_error, | 61 int cert_error, |
| 62 const net::SSLInfo& ssl_info, | 62 const net::SSLInfo& ssl_info, |
| 63 const GURL& request_url, | 63 const GURL& request_url, |
| 64 content::ResourceType resource_type, | 64 content::ResourceType resource_type, |
| 65 bool overridable, | 65 bool overridable, |
| 66 bool strict_enforcement, | 66 bool strict_enforcement, |
| 67 bool expired_previous_decision, | 67 bool expired_previous_decision, |
| 68 const base::Callback<void(bool)>& callback, | 68 const base::Callback<void(bool)>& callback, |
| 69 content::CertificateRequestResultType* result) override; | 69 content::CertificateRequestResultType* result) override; |
| 70 void SelectClientCertificate( | 70 void SelectClientCertificate( |
| 71 int render_process_id, | 71 content::WebContents* web_contents, |
| 72 int render_frame_id, | |
| 73 net::SSLCertRequestInfo* cert_request_info, | 72 net::SSLCertRequestInfo* cert_request_info, |
| 74 const base::Callback<void(net::X509Certificate*)>& callback) override; | 73 scoped_ptr<content::ClientCertificateDelegate> delegate) override; |
| 75 bool CanCreateWindow( | 74 bool CanCreateWindow( |
| 76 const GURL& opener_url, | 75 const GURL& opener_url, |
| 77 const GURL& opener_top_level_frame_url, | 76 const GURL& opener_top_level_frame_url, |
| 78 const GURL& source_origin, | 77 const GURL& source_origin, |
| 79 WindowContainerType container_type, | 78 WindowContainerType container_type, |
| 80 const GURL& target_url, | 79 const GURL& target_url, |
| 81 const content::Referrer& referrer, | 80 const content::Referrer& referrer, |
| 82 WindowOpenDisposition disposition, | 81 WindowOpenDisposition disposition, |
| 83 const blink::WebWindowFeatures& features, | 82 const blink::WebWindowFeatures& features, |
| 84 bool user_gesture, | 83 bool user_gesture, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 116 |
| 118 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 117 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
| 119 | 118 |
| 120 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 119 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
| 121 }; | 120 }; |
| 122 | 121 |
| 123 } // namespace shell | 122 } // namespace shell |
| 124 } // namespace chromecast | 123 } // namespace chromecast |
| 125 | 124 |
| 126 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 125 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |