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_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/public/browser/content_browser_client.h" | 9 #include "content/public/browser/content_browser_client.h" |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 virtual std::string GetApplicationLocale() OVERRIDE; | 39 virtual std::string GetApplicationLocale() OVERRIDE; |
40 virtual void AllowCertificateError( | 40 virtual void AllowCertificateError( |
41 int render_process_id, | 41 int render_process_id, |
42 int render_view_id, | 42 int render_view_id, |
43 int cert_error, | 43 int cert_error, |
44 const net::SSLInfo& ssl_info, | 44 const net::SSLInfo& ssl_info, |
45 const GURL& request_url, | 45 const GURL& request_url, |
46 content::ResourceType resource_type, | 46 content::ResourceType resource_type, |
47 bool overridable, | 47 bool overridable, |
48 bool strict_enforcement, | 48 bool strict_enforcement, |
| 49 bool expired_previous_decision, |
49 const base::Callback<void(bool)>& callback, | 50 const base::Callback<void(bool)>& callback, |
50 content::CertificateRequestResultType* result) OVERRIDE; | 51 content::CertificateRequestResultType* result) OVERRIDE; |
51 virtual bool CanCreateWindow( | 52 virtual bool CanCreateWindow( |
52 const GURL& opener_url, | 53 const GURL& opener_url, |
53 const GURL& opener_top_level_frame_url, | 54 const GURL& opener_top_level_frame_url, |
54 const GURL& source_origin, | 55 const GURL& source_origin, |
55 WindowContainerType container_type, | 56 WindowContainerType container_type, |
56 const GURL& target_url, | 57 const GURL& target_url, |
57 const content::Referrer& referrer, | 58 const content::Referrer& referrer, |
58 WindowOpenDisposition disposition, | 59 WindowOpenDisposition disposition, |
(...skipping 14 matching lines...) Expand all Loading... |
73 | 74 |
74 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 75 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
75 | 76 |
76 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 77 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
77 }; | 78 }; |
78 | 79 |
79 } // namespace shell | 80 } // namespace shell |
80 } // namespace chromecast | 81 } // namespace chromecast |
81 | 82 |
82 #endif // CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 83 #endif // CHROMECAST_SHELL_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |