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

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

Issue 734263003: Move data reduction proxy logic out of chrome and android webview network delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding inits to DRPNetworkDelegate Created 6 years 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/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 int media_cache_max_size; 175 int media_cache_max_size;
176 base::FilePath extensions_cookie_path; 176 base::FilePath extensions_cookie_path;
177 base::FilePath infinite_cache_path; 177 base::FilePath infinite_cache_path;
178 content::CookieStoreConfig::SessionCookieMode session_cookie_mode; 178 content::CookieStoreConfig::SessionCookieMode session_cookie_mode;
179 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy; 179 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy;
180 }; 180 };
181 181
182 ProfileImplIOData(); 182 ProfileImplIOData();
183 ~ProfileImplIOData() override; 183 ~ProfileImplIOData() override;
184 184
185 void InitializeInternal(ProfileParams* profile_params, 185 void InitializeInternal(
186 content::ProtocolHandlerMap* protocol_handlers, 186 scoped_ptr<ChromeNetworkDelegate> chrome_network_delegate,
187 content::URLRequestInterceptorScopedVector 187 ProfileParams* profile_params,
188 request_interceptors) const override; 188 content::ProtocolHandlerMap* protocol_handlers,
189 content::URLRequestInterceptorScopedVector
190 request_interceptors) const override;
189 void InitializeExtensionsRequestContext( 191 void InitializeExtensionsRequestContext(
190 ProfileParams* profile_params) const override; 192 ProfileParams* profile_params) const override;
191 net::URLRequestContext* InitializeAppRequestContext( 193 net::URLRequestContext* InitializeAppRequestContext(
192 net::URLRequestContext* main_context, 194 net::URLRequestContext* main_context,
193 const StoragePartitionDescriptor& partition_descriptor, 195 const StoragePartitionDescriptor& partition_descriptor,
194 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> 196 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory>
195 protocol_handler_interceptor, 197 protocol_handler_interceptor,
196 content::ProtocolHandlerMap* protocol_handlers, 198 content::ProtocolHandlerMap* protocol_handlers,
197 content::URLRequestInterceptorScopedVector request_interceptors) 199 content::URLRequestInterceptorScopedVector request_interceptors)
198 const override; 200 const override;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 248
247 // Parameters needed for isolated apps. 249 // Parameters needed for isolated apps.
248 base::FilePath profile_path_; 250 base::FilePath profile_path_;
249 int app_cache_max_size_; 251 int app_cache_max_size_;
250 int app_media_cache_max_size_; 252 int app_media_cache_max_size_;
251 253
252 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 254 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
253 }; 255 };
254 256
255 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 257 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698