Index: chrome/browser/sync/engine/store_timestamps_command.cc |
diff --git a/chrome/browser/sync/engine/store_timestamps_command.cc b/chrome/browser/sync/engine/store_timestamps_command.cc |
index 140191b4d0e1b727dabf852951253f35d70126e4..a8c83a9c01d4be6cccabcd949ed6af79ccb7048b 100644 |
--- a/chrome/browser/sync/engine/store_timestamps_command.cc |
+++ b/chrome/browser/sync/engine/store_timestamps_command.cc |
@@ -15,13 +15,14 @@ namespace browser_sync { |
StoreTimestampsCommand::StoreTimestampsCommand() {} |
StoreTimestampsCommand::~StoreTimestampsCommand() {} |
-void StoreTimestampsCommand::ExecuteImpl(sessions::SyncSession* session) { |
+SyncerError StoreTimestampsCommand::ExecuteImpl( |
+ sessions::SyncSession* session) { |
syncable::ScopedDirLookup dir(session->context()->directory_manager(), |
session->context()->account_name()); |
if (!dir.good()) { |
LOG(ERROR) << "Scoped dir lookup failed!"; |
- return; |
+ return DIRECTORY_LOOKUP_FAILED; |
} |
const GetUpdatesResponse& updates = |
@@ -58,6 +59,8 @@ void StoreTimestampsCommand::ExecuteImpl(sessions::SyncSession* session) { |
DVLOG(1) << "Changes remaining: " << changes_left; |
status->set_num_server_changes_remaining(changes_left); |
} |
+ |
+ return NO_ERROR; |
} |
} // namespace browser_sync |