| Index: chrome/browser/sync/engine/verify_updates_command.cc
|
| diff --git a/chrome/browser/sync/engine/verify_updates_command.cc b/chrome/browser/sync/engine/verify_updates_command.cc
|
| index 96dd4e7f310bbb506e8436029a027197333cbbe6..4b5a8ff83ad476095d9886ab7d4dbb97fb5e2732 100644
|
| --- a/chrome/browser/sync/engine/verify_updates_command.cc
|
| +++ b/chrome/browser/sync/engine/verify_updates_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.
|
|
|
| @@ -42,14 +42,14 @@ std::set<ModelSafeGroup> VerifyUpdatesCommand::GetGroupsToChange(
|
| return groups_with_updates;
|
| }
|
|
|
| -void VerifyUpdatesCommand::ModelChangingExecuteImpl(
|
| +SyncerError VerifyUpdatesCommand::ModelChangingExecuteImpl(
|
| sessions::SyncSession* session) {
|
| DVLOG(1) << "Beginning Update Verification";
|
| ScopedDirLookup dir(session->context()->directory_manager(),
|
| session->context()->account_name());
|
| if (!dir.good()) {
|
| LOG(ERROR) << "Scoped dir lookup failed!";
|
| - return;
|
| + return DIRECTORY_LOOKUP_FAILED;
|
| }
|
| WriteTransaction trans(FROM_HERE, SYNCER, dir);
|
| sessions::StatusController* status = session->mutable_status_controller();
|
| @@ -72,6 +72,8 @@ void VerifyUpdatesCommand::ModelChangingExecuteImpl(
|
| if (update.deleted())
|
| status->increment_num_tombstone_updates_downloaded_by(1);
|
| }
|
| +
|
| + return SYNCER_OK;
|
| }
|
|
|
| namespace {
|
|
|