• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_
7 #pragma once
8 
9 #include "chrome/browser/sync/engine/model_changing_syncer_command.h"
10 
11 namespace syncable {
12 class WriteTransaction;
13 class MutableEntry;
14 class Id;
15 }
16 
17 namespace browser_sync {
18 
19 class ApplyUpdatesCommand : public ModelChangingSyncerCommand {
20  public:
21   ApplyUpdatesCommand();
22   virtual ~ApplyUpdatesCommand();
23 
24   // ModelChangingSyncerCommand implementation.
25   virtual void ModelChangingExecuteImpl(sessions::SyncSession* session);
26 
27  private:
28   DISALLOW_COPY_AND_ASSIGN(ApplyUpdatesCommand);
29 };
30 
31 }  // namespace browser_sync
32 
33 #endif  // CHROME_BROWSER_SYNC_ENGINE_APPLY_UPDATES_COMMAND_H_
34