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

Side by Side Diff: chrome/browser/profiles/profile_impl_io_data.h

Issue 2841163002: Make ProfileIOData's ProxyService fetch PACs with the main URLRequestContext (Closed)
Patch Set: Change test URL to not be the test (proxy) server's URL Created 3 years, 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy; 149 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy;
150 std::unique_ptr<net::HttpServerPropertiesManager> 150 std::unique_ptr<net::HttpServerPropertiesManager>
151 http_server_properties_manager; 151 http_server_properties_manager;
152 std::unique_ptr<domain_reliability::DomainReliabilityMonitor> 152 std::unique_ptr<domain_reliability::DomainReliabilityMonitor>
153 domain_reliability_monitor; 153 domain_reliability_monitor;
154 }; 154 };
155 155
156 ProfileImplIOData(); 156 ProfileImplIOData();
157 ~ProfileImplIOData() override; 157 ~ProfileImplIOData() override;
158 158
159 std::unique_ptr<net::NetworkDelegate> ConfigureNetworkDelegate(
160 IOThread* io_thread,
161 std::unique_ptr<ChromeNetworkDelegate> chrome_network_delegate)
162 const override;
163
159 void InitializeInternal( 164 void InitializeInternal(
160 std::unique_ptr<ChromeNetworkDelegate> chrome_network_delegate,
161 ProfileParams* profile_params, 165 ProfileParams* profile_params,
162 content::ProtocolHandlerMap* protocol_handlers, 166 content::ProtocolHandlerMap* protocol_handlers,
163 content::URLRequestInterceptorScopedVector request_interceptors) 167 content::URLRequestInterceptorScopedVector request_interceptors)
164 const override; 168 const override;
165 void InitializeExtensionsRequestContext( 169 void InitializeExtensionsRequestContext(
166 ProfileParams* profile_params) const override; 170 ProfileParams* profile_params) const override;
167 net::URLRequestContext* InitializeAppRequestContext( 171 net::URLRequestContext* InitializeAppRequestContext(
168 net::URLRequestContext* main_context, 172 net::URLRequestContext* main_context,
169 const StoragePartitionDescriptor& partition_descriptor, 173 const StoragePartitionDescriptor& partition_descriptor,
170 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> 174 std::unique_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 225
222 // Parameters needed for isolated apps. 226 // Parameters needed for isolated apps.
223 base::FilePath profile_path_; 227 base::FilePath profile_path_;
224 int app_cache_max_size_; 228 int app_cache_max_size_;
225 int app_media_cache_max_size_; 229 int app_media_cache_max_size_;
226 230
227 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 231 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
228 }; 232 };
229 233
230 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 234 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698