OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE entry. |
| 4 |
| 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_ |
| 6 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "chrome/browser/sync/engine/syncer_command.h" |
| 10 |
| 11 namespace browser_sync { |
| 12 |
| 13 class SyncerSession; |
| 14 |
| 15 // A syncer command for wrapping up a sync cycle. |
| 16 // |
| 17 // Preconditions - syncing is complete |
| 18 // |
| 19 // Postconditions - The UI has been told that we're done syncing |
| 20 |
| 21 class SyncerEndCommand : public SyncerCommand { |
| 22 public: |
| 23 SyncerEndCommand(); |
| 24 virtual ~SyncerEndCommand(); |
| 25 |
| 26 virtual void ExecuteImpl(SyncerSession* session); |
| 27 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(SyncerEndCommand); |
| 29 }; |
| 30 } // namespace browser_sync |
| 31 |
| 32 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_ |
OLD | NEW |