Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index 84ecbd8772c946a82e33a5880c4c8df3062e18b8..1c12d04e06aa26a29fd507c0c09d6627f574880b 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -159,6 +159,7 @@ void OnOpenWindowForNewProfile(Profile* profile, |
} // namespace |
+#if defined(ENABLE_SESSION_SERVICE) |
// static |
void ProfileManager::ShutdownSessionServices() { |
ProfileManager* pm = g_browser_process->profile_manager(); |
@@ -168,6 +169,7 @@ void ProfileManager::ShutdownSessionServices() { |
for (size_t i = 0; i < profiles.size(); ++i) |
SessionServiceFactory::ShutdownForProfile(profiles[i]); |
} |
+#endif |
// static |
void ProfileManager::NukeDeletedProfilesFromDisk() { |