OLD | NEW |
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 "chrome/common/chrome_switches.h" |
15 #include "components/prefs/pref_store.h" | 16 #include "components/prefs/pref_store.h" |
16 #include "content/public/browser/cookie_store_factory.h" | 17 #include "content/public/browser/cookie_store_factory.h" |
17 | 18 |
18 class JsonPrefStore; | 19 class JsonPrefStore; |
19 | 20 |
20 namespace chrome_browser_net { | 21 namespace chrome_browser_net { |
21 class Predictor; | 22 class Predictor; |
22 } // namespace chrome_browser_net | 23 } // namespace chrome_browser_net |
23 | 24 |
24 namespace domain_reliability { | 25 namespace domain_reliability { |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 220 |
220 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_; | 221 mutable std::unique_ptr<net::URLRequestJobFactory> extensions_job_factory_; |
221 | 222 |
222 mutable std::unique_ptr<domain_reliability::DomainReliabilityMonitor> | 223 mutable std::unique_ptr<domain_reliability::DomainReliabilityMonitor> |
223 domain_reliability_monitor_; | 224 domain_reliability_monitor_; |
224 | 225 |
225 mutable std::unique_ptr<net::SdchOwner> sdch_policy_; | 226 mutable std::unique_ptr<net::SdchOwner> sdch_policy_; |
226 | 227 |
227 mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_; | 228 mutable std::unique_ptr<previews::PreviewsIOData> previews_io_data_; |
228 | 229 |
| 230 mutable std::unique_ptr<net::ReportingService> reporting_service_; |
| 231 |
229 // Parameters needed for isolated apps. | 232 // Parameters needed for isolated apps. |
230 base::FilePath profile_path_; | 233 base::FilePath profile_path_; |
231 int app_cache_max_size_; | 234 int app_cache_max_size_; |
232 int app_media_cache_max_size_; | 235 int app_media_cache_max_size_; |
233 | 236 |
234 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); | 237 DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData); |
235 }; | 238 }; |
236 | 239 |
237 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ | 240 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_IO_DATA_H_ |
OLD | NEW |