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

Side by Side Diff: content/browser/appcache/appcache_service_impl.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 2 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 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
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_
OLDNEW
« no previous file with comments | « components/visitedlink/browser/visitedlink_event_listener.h ('k') | content/browser/appcache/appcache_storage_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698