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

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

Issue 1862203005: Remove ContentBrowserClient::CreateRequestContext & CreateRequestContextForStoragePartition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 ::metrics::MetricsService* metrics_service); 89 ::metrics::MetricsService* metrics_service);
90 90
91 // Returns whether or not the remote debugging service should be started 91 // Returns whether or not the remote debugging service should be started
92 // on browser startup. 92 // on browser startup.
93 virtual bool EnableRemoteDebuggingImmediately(); 93 virtual bool EnableRemoteDebuggingImmediately();
94 94
95 // content::ContentBrowserClient implementation: 95 // content::ContentBrowserClient implementation:
96 content::BrowserMainParts* CreateBrowserMainParts( 96 content::BrowserMainParts* CreateBrowserMainParts(
97 const content::MainFunctionParams& parameters) override; 97 const content::MainFunctionParams& parameters) override;
98 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; 98 void RenderProcessWillLaunch(content::RenderProcessHost* host) override;
99 net::URLRequestContextGetter* CreateRequestContext(
100 content::BrowserContext* browser_context,
101 content::ProtocolHandlerMap* protocol_handlers,
102 content::URLRequestInterceptorScopedVector request_interceptors)
103 override;
104 bool IsHandledURL(const GURL& url) override; 99 bool IsHandledURL(const GURL& url) override;
105 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 100 void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
106 int child_process_id) override; 101 int child_process_id) override;
107 content::AccessTokenStore* CreateAccessTokenStore() override; 102 content::AccessTokenStore* CreateAccessTokenStore() override;
108 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, 103 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
109 content::WebPreferences* prefs) override; 104 content::WebPreferences* prefs) override;
110 void ResourceDispatcherHostCreated() override; 105 void ResourceDispatcherHostCreated() override;
111 std::string GetApplicationLocale() override; 106 std::string GetApplicationLocale() override;
112 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; 107 content::QuotaPermissionContext* CreateQuotaPermissionContext() override;
113 void AllowCertificateError( 108 void AllowCertificateError(
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 CastBrowserMainParts* cast_browser_main_parts_; 190 CastBrowserMainParts* cast_browser_main_parts_;
196 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; 191 scoped_ptr<URLRequestContextFactory> url_request_context_factory_;
197 192
198 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); 193 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
199 }; 194 };
200 195
201 } // namespace shell 196 } // namespace shell
202 } // namespace chromecast 197 } // namespace chromecast
203 198
204 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 199 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698