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/engine/syncer_session.h" | |
10 #include "chrome/browser/sync/util/sync_types.h" | 9 #include "chrome/browser/sync/util/sync_types.h" |
11 | 10 |
12 namespace syncable { | 11 namespace syncable { |
13 class WriteTransaction; | 12 class WriteTransaction; |
14 class MutableEntry; | 13 class MutableEntry; |
15 class Id; | 14 class Id; |
16 } | 15 } |
17 | 16 |
18 namespace browser_sync { | 17 namespace browser_sync { |
19 | 18 |
| 19 class SyncerSession; |
| 20 |
20 class ApplyUpdatesCommand : public ModelChangingSyncerCommand { | 21 class ApplyUpdatesCommand : public ModelChangingSyncerCommand { |
21 public: | 22 public: |
22 ApplyUpdatesCommand(); | 23 ApplyUpdatesCommand(); |
23 virtual ~ApplyUpdatesCommand(); | 24 virtual ~ApplyUpdatesCommand(); |
24 | 25 |
25 virtual void ModelChangingExecuteImpl(SyncerSession* session); | 26 virtual void ModelChangingExecuteImpl(SyncerSession* session); |
26 | 27 |
27 private: | 28 private: |
28 DISALLOW_COPY_AND_ASSIGN(ApplyUpdatesCommand); | 29 DISALLOW_COPY_AND_ASSIGN(ApplyUpdatesCommand); |
29 }; | 30 }; |
30 | 31 |
31 } // namespace browser_sync | 32 } // namespace browser_sync |
32 | 33 |
33 #endif // CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ | 34 #endif // CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_ |
OLD | NEW |