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..64bc5bee67f527d333e83b9665ecf505f7f23d3e 100644 |
--- a/chrome/browser/sync/engine/store_timestamps_command.cc |
+++ b/chrome/browser/sync/engine/store_timestamps_command.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -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 SYNCER_OK; |
} |
} // namespace browser_sync |