| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ | 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ |
| 6 #define CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ | 6 #define CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/sync/engine/model_changing_syncer_command.h" | 8 #include "chrome/browser/sync/engine/model_changing_syncer_command.h" |
| 9 #include "chrome/browser/sync/util/sync_types.h" | 9 #include "chrome/browser/sync/util/sync_types.h" |
| 10 | 10 |
| 11 namespace syncable { | 11 namespace syncable { |
| 12 class WriteTransaction; | 12 class WriteTransaction; |
| 13 class MutableEntry; | 13 class MutableEntry; |
| 14 class Id; | 14 class Id; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace browser_sync { | 17 namespace browser_sync { |
| 18 | 18 |
| 19 class SyncerSession; | |
| 20 | |
| 21 class ApplyUpdatesCommand : public ModelChangingSyncerCommand { | 19 class ApplyUpdatesCommand : public ModelChangingSyncerCommand { |
| 22 public: | 20 public: |
| 23 ApplyUpdatesCommand(); | 21 ApplyUpdatesCommand(); |
| 24 virtual ~ApplyUpdatesCommand(); | 22 virtual ~ApplyUpdatesCommand(); |
| 25 | 23 |
| 26 virtual void ModelChangingExecuteImpl(SyncerSession* session); | 24 // ModelChangingSyncerCommand implementation. |
| 25 virtual void ModelChangingExecuteImpl(sessions::SyncSession* session); |
| 27 | 26 |
| 28 private: | 27 private: |
| 29 DISALLOW_COPY_AND_ASSIGN(ApplyUpdatesCommand); | 28 DISALLOW_COPY_AND_ASSIGN(ApplyUpdatesCommand); |
| 30 }; | 29 }; |
| 31 | 30 |
| 32 } // namespace browser_sync | 31 } // namespace browser_sync |
| 33 | 32 |
| 34 #endif // CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ | 33 #endif // CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ |
| OLD | NEW |