| 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 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
| 15 #include "content/public/browser/certificate_request_result_type.h" |
| 15 #include "content/public/browser/content_browser_client.h" | 16 #include "content/public/browser/content_browser_client.h" |
| 16 | 17 |
| 17 class PrefService; | 18 class PrefService; |
| 18 | 19 |
| 19 namespace breakpad { | 20 namespace breakpad { |
| 20 class CrashHandlerHostLinux; | 21 class CrashHandlerHostLinux; |
| 21 } | 22 } |
| 22 | 23 |
| 23 namespace media { | 24 namespace media { |
| 24 class BrowserCdmFactory; | 25 class BrowserCdmFactory; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 108 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 108 void AllowCertificateError( | 109 void AllowCertificateError( |
| 109 content::WebContents* web_contents, | 110 content::WebContents* web_contents, |
| 110 int cert_error, | 111 int cert_error, |
| 111 const net::SSLInfo& ssl_info, | 112 const net::SSLInfo& ssl_info, |
| 112 const GURL& request_url, | 113 const GURL& request_url, |
| 113 content::ResourceType resource_type, | 114 content::ResourceType resource_type, |
| 114 bool overridable, | 115 bool overridable, |
| 115 bool strict_enforcement, | 116 bool strict_enforcement, |
| 116 bool expired_previous_decision, | 117 bool expired_previous_decision, |
| 117 const base::Callback<void(bool)>& callback, | 118 const base::Callback<void(content::CertificateRequestResultType)>& |
| 118 content::CertificateRequestResultType* result) override; | 119 callback) override; |
| 119 void SelectClientCertificate( | 120 void SelectClientCertificate( |
| 120 content::WebContents* web_contents, | 121 content::WebContents* web_contents, |
| 121 net::SSLCertRequestInfo* cert_request_info, | 122 net::SSLCertRequestInfo* cert_request_info, |
| 122 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; | 123 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; |
| 123 bool CanCreateWindow( | 124 bool CanCreateWindow( |
| 124 const GURL& opener_url, | 125 const GURL& opener_url, |
| 125 const GURL& opener_top_level_frame_url, | 126 const GURL& opener_top_level_frame_url, |
| 126 const GURL& source_origin, | 127 const GURL& source_origin, |
| 127 WindowContainerType container_type, | 128 WindowContainerType container_type, |
| 128 const GURL& target_url, | 129 const GURL& target_url, |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 CastBrowserMainParts* cast_browser_main_parts_; | 194 CastBrowserMainParts* cast_browser_main_parts_; |
| 194 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; | 195 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; |
| 195 | 196 |
| 196 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 197 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
| 197 }; | 198 }; |
| 198 | 199 |
| 199 } // namespace shell | 200 } // namespace shell |
| 200 } // namespace chromecast | 201 } // namespace chromecast |
| 201 | 202 |
| 202 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 203 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |