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

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

Issue 901303002: Make SDCH dictionaries persistent across browser restart. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cache control headers Created 5 years, 9 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
« no previous file with comments | « chrome/browser/net/sdch_browsertest.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/prefs/pref_store.h"
12 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 13 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
13 #include "chrome/browser/net/chrome_url_request_context_getter.h" 14 #include "chrome/browser/net/chrome_url_request_context_getter.h"
14 #include "chrome/browser/profiles/profile_io_data.h" 15 #include "chrome/browser/profiles/profile_io_data.h"
15 #include "content/public/browser/cookie_store_factory.h" 16 #include "content/public/browser/cookie_store_factory.h"
16 17
18 class JsonPrefStore;
19
17 namespace chrome_browser_net { 20 namespace chrome_browser_net {
18 class Predictor; 21 class Predictor;
19 } // namespace chrome_browser_net 22 } // namespace chrome_browser_net
20 23
21 namespace content { 24 namespace content {
22 class CookieCryptoDelegate; 25 class CookieCryptoDelegate;
23 } // namespace content 26 } // namespace content
24 27
25 namespace data_reduction_proxy { 28 namespace data_reduction_proxy {
26 class DataReductionProxyNetworkDelegate; 29 class DataReductionProxyNetworkDelegate;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // it will be posted on the UI thread once the removal process completes. 211 // it will be posted on the UI thread once the removal process completes.
209 void ClearNetworkingHistorySinceOnIOThread(base::Time time, 212 void ClearNetworkingHistorySinceOnIOThread(base::Time time,
210 const base::Closure& completion); 213 const base::Closure& completion);
211 214
212 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyNetworkDelegate> 215 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyNetworkDelegate>
213 network_delegate_; 216 network_delegate_;
214 217
215 // Lazy initialization params. 218 // Lazy initialization params.
216 mutable scoped_ptr<LazyParams> lazy_params_; 219 mutable scoped_ptr<LazyParams> lazy_params_;
217 220
221 mutable scoped_refptr<JsonPrefStore> network_json_store_;
222
218 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_; 223 mutable scoped_ptr<net::HttpTransactionFactory> main_http_factory_;
219 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_; 224 mutable scoped_ptr<net::FtpTransactionFactory> ftp_factory_;
220 225
221 // Same as |ProfileIOData::http_server_properties_|, owned there to maintain 226 // Same as |ProfileIOData::http_server_properties_|, owned there to maintain
222 // destruction ordering. 227 // destruction ordering.
223 mutable net::HttpServerPropertiesManager* http_server_properties_manager_; 228 mutable net::HttpServerPropertiesManager* http_server_properties_manager_;
224 229
225 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; 230 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_;
226 231
227 mutable scoped_ptr<net::URLRequestContext> media_request_context_; 232 mutable scoped_ptr<net::URLRequestContext> media_request_context_;
228 233
229 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_; 234 mutable scoped_ptr<net::URLRequestJobFactory> main_job_factory_;
230 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_; 235 mutable scoped_ptr<net::URLRequestJobFactory> extensions_job_factory_;
231 236
232 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor> 237 mutable scoped_ptr<domain_reliability::DomainReliabilityMonitor>
233 domain_reliability_monitor_; 238 domain_reliability_monitor_;
234 239
235 mutable scoped_ptr<net::SdchManager> sdch_manager_; 240 mutable scoped_ptr<net::SdchManager> sdch_manager_;
236 mutable scoped_ptr<net::SdchOwner> sdch_policy_; 241 mutable scoped_ptr<net::SdchOwner> sdch_policy_;
237 242
238 // Parameters needed for isolated apps. 243 // Parameters needed for isolated apps.
239 base::FilePath profile_path_; 244 base::FilePath profile_path_;
240 int app_cache_max_size_; 245 int app_cache_max_size_;
241 int app_media_cache_max_size_; 246 int app_media_cache_max_size_;
242 247
243 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 248 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
244 }; 249 };
245 250
246 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 251 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/sdch_browsertest.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