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_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/public/browser/content_browser_client.h" | 10 #include "content/public/browser/content_browser_client.h" |
11 | 11 |
12 namespace chromecast { | 12 namespace chromecast { |
13 namespace shell { | 13 namespace shell { |
14 | 14 |
15 class CastBrowserMainParts; | 15 class CastBrowserMainParts; |
16 class URLRequestContextFactory; | 16 class URLRequestContextFactory; |
(...skipping 29 matching lines...) Expand all Loading... |
46 const GURL& request_url, | 46 const GURL& request_url, |
47 content::ResourceType resource_type, | 47 content::ResourceType resource_type, |
48 bool overridable, | 48 bool overridable, |
49 bool strict_enforcement, | 49 bool strict_enforcement, |
50 bool expired_previous_decision, | 50 bool expired_previous_decision, |
51 const base::Callback<void(bool)>& callback, | 51 const base::Callback<void(bool)>& callback, |
52 content::CertificateRequestResultType* result) override; | 52 content::CertificateRequestResultType* result) override; |
53 virtual void SelectClientCertificate( | 53 virtual void SelectClientCertificate( |
54 int render_process_id, | 54 int render_process_id, |
55 int render_frame_id, | 55 int render_frame_id, |
56 const net::HttpNetworkSession* network_session, | |
57 net::SSLCertRequestInfo* cert_request_info, | 56 net::SSLCertRequestInfo* cert_request_info, |
58 const base::Callback<void(net::X509Certificate*)>& callback) override; | 57 const base::Callback<void(net::X509Certificate*)>& callback) override; |
59 virtual bool CanCreateWindow( | 58 virtual bool CanCreateWindow( |
60 const GURL& opener_url, | 59 const GURL& opener_url, |
61 const GURL& opener_top_level_frame_url, | 60 const GURL& opener_top_level_frame_url, |
62 const GURL& source_origin, | 61 const GURL& source_origin, |
63 WindowContainerType container_type, | 62 WindowContainerType container_type, |
64 const GURL& target_url, | 63 const GURL& target_url, |
65 const content::Referrer& referrer, | 64 const content::Referrer& referrer, |
66 WindowOpenDisposition disposition, | 65 WindowOpenDisposition disposition, |
(...skipping 21 matching lines...) Expand all Loading... |
88 GURL requesting_url); | 87 GURL requesting_url); |
89 | 88 |
90 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 89 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
91 | 90 |
92 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 91 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
93 }; | 92 }; |
94 | 93 |
95 } // namespace shell | 94 } // namespace shell |
96 } // namespace chromecast | 95 } // namespace chromecast |
97 | 96 |
98 #endif // CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 97 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |