Index: chrome/browser/profile_impl.cc |
diff --git a/chrome/browser/profile_impl.cc b/chrome/browser/profile_impl.cc |
index 8b046eda08376002dde626668667c4c96749966b..20e513f038f7577390d34937665f7b45ea69e5f8 100644 |
--- a/chrome/browser/profile_impl.cc |
+++ b/chrome/browser/profile_impl.cc |
@@ -1089,6 +1089,10 @@ bool ProfileImpl::HasSessionService() const { |
return (session_service_.get() != NULL); |
} |
+bool ProfileImpl::HasProfileSyncService() const { |
+ return (sync_service_.get() != NULL); |
+} |
+ |
bool ProfileImpl::DidLastSessionExitCleanly() { |
// last_session_exited_cleanly_ is set when the preferences are loaded. Force |
// it to be set by asking for the prefs. |