Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(630)

Side by Side Diff: chrome/browser/sync/engine/apply_updates_command.h

Issue 351026: Remove context-based dependencies on SyncerSession from ApplyUpdatesCommand.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/sync/engine/apply_updates_command.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/engine/apply_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698