| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 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 file. | |
| 4 | |
| 5 #ifndef SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ | |
| 6 #define SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "sync/engine/model_changing_syncer_command.h" | |
| 10 | |
| 11 namespace syncer { | |
| 12 | |
| 13 class ApplyUpdatesCommand : public ModelChangingSyncerCommand { | |
| 14 public: | |
| 15 ApplyUpdatesCommand(); | |
| 16 virtual ~ApplyUpdatesCommand(); | |
| 17 | |
| 18 protected: | |
| 19 // ModelChangingSyncerCommand implementation. | |
| 20 virtual std::set<ModelSafeGroup> GetGroupsToChange( | |
| 21 const sessions::SyncSession& session) const OVERRIDE; | |
| 22 virtual SyncerError ModelChangingExecuteImpl( | |
| 23 sessions::SyncSession* session) OVERRIDE; | |
| 24 | |
| 25 private: | |
| 26 DISALLOW_COPY_AND_ASSIGN(ApplyUpdatesCommand); | |
| 27 }; | |
| 28 | |
| 29 } // namespace syncer | |
| 30 | |
| 31 #endif // SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ | |
| OLD | NEW |