OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_BROWSER_APPCACHE_APPCACHE_SERVICE_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_SERVICE_IMPL_H_ |
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_SERVICE_IMPL_H_ | 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_SERVICE_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; | 208 scoped_refptr<storage::SpecialStoragePolicy> special_storage_policy_; |
209 scoped_refptr<storage::QuotaManagerProxy> quota_manager_proxy_; | 209 scoped_refptr<storage::QuotaManagerProxy> quota_manager_proxy_; |
210 PendingAsyncHelpers pending_helpers_; | 210 PendingAsyncHelpers pending_helpers_; |
211 BackendMap backends_; // One 'backend' per child process. | 211 BackendMap backends_; // One 'backend' per child process. |
212 // Context for use during cache updates. | 212 // Context for use during cache updates. |
213 net::URLRequestContext* request_context_; | 213 net::URLRequestContext* request_context_; |
214 // If true, nothing (not even session-only data) should be deleted on exit. | 214 // If true, nothing (not even session-only data) should be deleted on exit. |
215 bool force_keep_session_state_; | 215 bool force_keep_session_state_; |
216 base::Time last_reinit_time_; | 216 base::Time last_reinit_time_; |
217 base::TimeDelta next_reinit_delay_; | 217 base::TimeDelta next_reinit_delay_; |
218 base::OneShotTimer<AppCacheServiceImpl> reinit_timer_; | 218 base::OneShotTimer reinit_timer_; |
219 base::ObserverList<Observer> observers_; | 219 base::ObserverList<Observer> observers_; |
220 | 220 |
221 private: | 221 private: |
222 base::WeakPtrFactory<AppCacheServiceImpl> weak_factory_; | 222 base::WeakPtrFactory<AppCacheServiceImpl> weak_factory_; |
223 | 223 |
224 DISALLOW_COPY_AND_ASSIGN(AppCacheServiceImpl); | 224 DISALLOW_COPY_AND_ASSIGN(AppCacheServiceImpl); |
225 }; | 225 }; |
226 | 226 |
227 } // namespace content | 227 } // namespace content |
228 | 228 |
229 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_SERVICE_IMPL_H_ | 229 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_SERVICE_IMPL_H_ |
OLD | NEW |