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

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

Issue 2720613006: Disable SDCH by Default (Closed)
Patch Set: Created 3 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
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"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 12 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
13 #include "chrome/browser/net/chrome_url_request_context_getter.h" 13 #include "chrome/browser/net/chrome_url_request_context_getter.h"
14 #include "chrome/browser/profiles/profile_io_data.h" 14 #include "chrome/browser/profiles/profile_io_data.h"
15 #include "components/prefs/pref_store.h" 15 #include "components/prefs/pref_store.h"
16 #include "content/public/browser/cookie_store_factory.h" 16 #include "content/public/browser/cookie_store_factory.h"
17 17
18 class JsonPrefStore;
19
20 namespace chrome_browser_net { 18 namespace chrome_browser_net {
21 class Predictor; 19 class Predictor;
22 } // namespace chrome_browser_net 20 } // namespace chrome_browser_net
23 21
24 namespace domain_reliability { 22 namespace domain_reliability {
25 class DomainReliabilityMonitor; 23 class DomainReliabilityMonitor;
26 } // namespace domain_reliability 24 } // namespace domain_reliability
27 25
28 namespace net { 26 namespace net {
29 class CookieStore; 27 class CookieStore;
30 class HttpServerPropertiesManager; 28 class HttpServerPropertiesManager;
31 class SdchOwner;
32 } // namespace net 29 } // namespace net
33 30
34 namespace previews { 31 namespace previews {
35 class PreviewsIOData; 32 class PreviewsIOData;
36 } 33 }
37 34
38 namespace storage { 35 namespace storage {
39 class SpecialStoragePolicy; 36 class SpecialStoragePolicy;
40 } // namespace storage 37 } // namespace storage
41 38
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // Deletes all network related data since |time|. It deletes transport 197 // Deletes all network related data since |time|. It deletes transport
201 // security state since |time| and also deletes HttpServerProperties data. 198 // security state since |time| and also deletes HttpServerProperties data.
202 // Works asynchronously, however if the |completion| callback is non-null, 199 // Works asynchronously, however if the |completion| callback is non-null,
203 // it will be posted on the UI thread once the removal process completes. 200 // it will be posted on the UI thread once the removal process completes.
204 void ClearNetworkingHistorySinceOnIOThread(base::Time time, 201 void ClearNetworkingHistorySinceOnIOThread(base::Time time,
205 const base::Closure& completion); 202 const base::Closure& completion);
206 203
207 // Lazy initialization params. 204 // Lazy initialization params.
208 mutable std::unique_ptr<LazyParams> lazy_params_; 205 mutable std::unique_ptr<LazyParams> lazy_params_;
209 206
210 mutable scoped_refptr<JsonPrefStore> network_json_store_;
211
212 // Owned by URLRequestContextStorage, reference here to can be shut down on 207 // Owned by URLRequestContextStorage, reference here to can be shut down on
213 // the UI thread. 208 // the UI thread.
214 net::HttpServerPropertiesManager* http_server_properties_manager_; 209 net::HttpServerPropertiesManager* http_server_properties_manager_;
215 210
216 mutable std::unique_ptr<net::CookieStore> extensions_cookie_store_; 211 mutable std::unique_ptr<net::CookieStore> extensions_cookie_store_;
217 212
218 mutable std::unique_ptr<chrome_browser_net::Predictor> predictor_; 213 mutable std::unique_ptr<chrome_browser_net::Predictor> predictor_;
219 214
220 mutable std::unique_ptr<net::URLRequestContext> media_request_context_; 215 mutable std::unique_ptr<net::URLRequestContext> media_request_context_;
221 216
222 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_; 217 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_;
223 218
224 // Owned by ChromeNetworkDelegate (which is owned by |network_delegate_|). 219 // Owned by ChromeNetworkDelegate (which is owned by |network_delegate_|).
225 mutable domain_reliability::DomainReliabilityMonitor* 220 mutable domain_reliability::DomainReliabilityMonitor*
226 domain_reliability_monitor_; 221 domain_reliability_monitor_;
227 222
228 mutable std::unique_ptr<net::SdchOwner> sdch_policy_;
229
230 mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_; 223 mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_;
231 224
232 // Parameters needed for isolated apps. 225 // Parameters needed for isolated apps.
233 base::FilePath profile_path_; 226 base::FilePath profile_path_;
234 int app_cache_max_size_; 227 int app_cache_max_size_;
235 int app_media_cache_max_size_; 228 int app_media_cache_max_size_;
236 229
237 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); 230 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
238 }; 231 };
239 232
240 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ 233 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698