| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/sync/engine/model_changing_syncer_command.h" | 9 #include "chrome/browser/sync/engine/model_changing_syncer_command.h" |
| 10 | 10 |
| 11 namespace syncable { | |
| 12 class WriteTransaction; | |
| 13 class MutableEntry; | |
| 14 class Id; | |
| 15 } | |
| 16 | |
| 17 namespace browser_sync { | 11 namespace browser_sync { |
| 18 | 12 |
| 19 class ApplyUpdatesCommand : public ModelChangingSyncerCommand { | 13 class ApplyUpdatesCommand : public ModelChangingSyncerCommand { |
| 20 public: | 14 public: |
| 21 ApplyUpdatesCommand(); | 15 ApplyUpdatesCommand(); |
| 22 virtual ~ApplyUpdatesCommand(); | 16 virtual ~ApplyUpdatesCommand(); |
| 23 | 17 |
| 24 // ModelChangingSyncerCommand implementation. | 18 // ModelChangingSyncerCommand implementation. |
| 25 virtual void ModelChangingExecuteImpl(sessions::SyncSession* session); | 19 virtual void ModelChangingExecuteImpl(sessions::SyncSession* session); |
| 26 | 20 |
| 27 private: | 21 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(ApplyUpdatesCommand); | 22 DISALLOW_COPY_AND_ASSIGN(ApplyUpdatesCommand); |
| 29 }; | 23 }; |
| 30 | 24 |
| 31 } // namespace browser_sync | 25 } // namespace browser_sync |
| 32 | 26 |
| 33 #endif // CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ | 27 #endif // CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ |
| OLD | NEW |