Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: chromecast/browser/cast_content_browser_client.h

Issue 1459473003: Add a WebContents getter callback in ResourceRequestInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Nasko's comment Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 bool IsHandledURL(const GURL& url) override; 99 bool IsHandledURL(const GURL& url) override;
100 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 100 void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
101 int child_process_id) override; 101 int child_process_id) override;
102 content::AccessTokenStore* CreateAccessTokenStore() override; 102 content::AccessTokenStore* CreateAccessTokenStore() override;
103 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, 103 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
104 content::WebPreferences* prefs) override; 104 content::WebPreferences* prefs) override;
105 void ResourceDispatcherHostCreated() override; 105 void ResourceDispatcherHostCreated() override;
106 std::string GetApplicationLocale() override; 106 std::string GetApplicationLocale() override;
107 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; 107 content::QuotaPermissionContext* CreateQuotaPermissionContext() override;
108 void AllowCertificateError( 108 void AllowCertificateError(
109 int render_process_id, 109 content::WebContents* web_contents,
110 int render_view_id,
111 int cert_error, 110 int cert_error,
112 const net::SSLInfo& ssl_info, 111 const net::SSLInfo& ssl_info,
113 const GURL& request_url, 112 const GURL& request_url,
114 content::ResourceType resource_type, 113 content::ResourceType resource_type,
115 bool overridable, 114 bool overridable,
116 bool strict_enforcement, 115 bool strict_enforcement,
117 bool expired_previous_decision, 116 bool expired_previous_decision,
118 const base::Callback<void(bool)>& callback, 117 const base::Callback<void(bool)>& callback,
119 content::CertificateRequestResultType* result) override; 118 content::CertificateRequestResultType* result) override;
120 void SelectClientCertificate( 119 void SelectClientCertificate(
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 186
188 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; 187 scoped_ptr<URLRequestContextFactory> url_request_context_factory_;
189 188
190 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); 189 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
191 }; 190 };
192 191
193 } // namespace shell 192 } // namespace shell
194 } // namespace chromecast 193 } // namespace chromecast
195 194
196 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 195 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chromecast/browser/cast_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698