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

Side by Side Diff: chrome/browser/profiles/profile_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: . Created 5 years, 3 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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 #endif 232 #endif
233 scoped_ptr<NetPrefObserver> net_pref_observer_; 233 scoped_ptr<NetPrefObserver> net_pref_observer_;
234 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; 234 scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
235 scoped_refptr<ShortcutsBackend> shortcuts_backend_; 235 scoped_refptr<ShortcutsBackend> shortcuts_backend_;
236 236
237 // Exit type the last time the profile was opened. This is set only once from 237 // Exit type the last time the profile was opened. This is set only once from
238 // prefs. 238 // prefs.
239 ExitType last_session_exit_type_; 239 ExitType last_session_exit_type_;
240 240
241 #if defined(ENABLE_SESSION_SERVICE) 241 #if defined(ENABLE_SESSION_SERVICE)
242 base::OneShotTimer<ProfileImpl> create_session_service_timer_; 242 base::OneShotTimer create_session_service_timer_;
243 #endif 243 #endif
244 244
245 scoped_ptr<Profile> off_the_record_profile_; 245 scoped_ptr<Profile> off_the_record_profile_;
246 246
247 // See GetStartTime for details. 247 // See GetStartTime for details.
248 base::Time start_time_; 248 base::Time start_time_;
249 249
250 #if defined(OS_CHROMEOS) 250 #if defined(OS_CHROMEOS)
251 scoped_ptr<chromeos::Preferences> chromeos_preferences_; 251 scoped_ptr<chromeos::Preferences> chromeos_preferences_;
252 252
(...skipping 17 matching lines...) Expand all
270 // components/keyed_service/content/browser_context_keyed_service_factory.* 270 // components/keyed_service/content/browser_context_keyed_service_factory.*
271 271
272 Profile::Delegate* delegate_; 272 Profile::Delegate* delegate_;
273 273
274 chrome_browser_net::Predictor* predictor_; 274 chrome_browser_net::Predictor* predictor_;
275 275
276 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 276 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
277 }; 277 };
278 278
279 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 279 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698