| Index: chrome/browser/sync/engine/syncer_command.cc
|
| diff --git a/chrome/browser/sync/engine/syncer_command.cc b/chrome/browser/sync/engine/syncer_command.cc
|
| deleted file mode 100644
|
| index 8b4f9bf0a1b8964990e9bd9a063fecda9dcdf117..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/sync/engine/syncer_command.cc
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -// 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.
|
| -
|
| -#include "chrome/browser/sync/engine/syncer_command.h"
|
| -
|
| -#include "chrome/browser/sync/engine/net/server_connection_manager.h"
|
| -#include "chrome/browser/sync/sessions/sync_session.h"
|
| -
|
| -namespace browser_sync {
|
| -using sessions::SyncSession;
|
| -
|
| -SyncerCommand::SyncerCommand() {}
|
| -SyncerCommand::~SyncerCommand() {}
|
| -
|
| -SyncerError SyncerCommand::Execute(SyncSession* session) {
|
| - SyncerError result = ExecuteImpl(session);
|
| - SendNotifications(session);
|
| - return result;
|
| -}
|
| -
|
| -void SyncerCommand::SendNotifications(SyncSession* session) {
|
| - if (session->mutable_status_controller()->TestAndClearIsDirty()) {
|
| - SyncEngineEvent event(SyncEngineEvent::STATUS_CHANGED);
|
| - const sessions::SyncSessionSnapshot& snapshot(session->TakeSnapshot());
|
| - event.snapshot = &snapshot;
|
| - session->context()->NotifyListeners(event);
|
| - }
|
| -}
|
| -
|
| -} // namespace browser_sync
|
|
|