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