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

Unified Diff: chrome/browser/profiles/profile_impl.h

Issue 9985002: Allow SessionService to be disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed sky's comments Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index f20368f65c23bca8835a739e62770d2aafec3b20..9f76bc150133df952a130e42f8f55469525ec45c 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -154,14 +154,17 @@ class ProfileImpl : public Profile,
void CreateWebDataService();
FilePath GetPrefFilePath();
+#if defined(ENABLE_SESSION_SERVICE)
void StopCreateSessionServiceTimer();
+ void EnsureSessionServiceCreated();
+#endif
+
+
void EnsureRequestContextCreated() {
GetRequestContext();
}
- void EnsureSessionServiceCreated();
-
void UpdateProfileUserNameCache();
@@ -223,7 +226,9 @@ class ProfileImpl : public Profile,
// Whether or not the last session exited cleanly. This is set only once.
bool last_session_exited_cleanly_;
+#if defined(ENABLE_SESSION_SERVICE)
base::OneShotTimer<ProfileImpl> create_session_service_timer_;
+#endif
scoped_ptr<Profile> off_the_record_profile_;
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698