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