diff options
Diffstat (limited to 'chrome/browser/sync/engine/syncer_end_command.h')
-rw-r--r-- | chrome/browser/sync/engine/syncer_end_command.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/chrome/browser/sync/engine/syncer_end_command.h b/chrome/browser/sync/engine/syncer_end_command.h new file mode 100644 index 0000000..904bac4 --- /dev/null +++ b/chrome/browser/sync/engine/syncer_end_command.h @@ -0,0 +1,32 @@ +// Copyright (c) 2009 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 entry. + +#ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_ +#define CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_ + +#include "base/basictypes.h" +#include "chrome/browser/sync/engine/syncer_command.h" + +namespace browser_sync { + +class SyncerSession; + +// A syncer command for wrapping up a sync cycle. +// +// Preconditions - syncing is complete +// +// Postconditions - The UI has been told that we're done syncing + +class SyncerEndCommand : public SyncerCommand { + public: + SyncerEndCommand(); + virtual ~SyncerEndCommand(); + + virtual void ExecuteImpl(SyncerSession* session); + private: + DISALLOW_COPY_AND_ASSIGN(SyncerEndCommand); +}; +} // namespace browser_sync + +#endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_ |