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

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

Issue 386030: Relieve SyncerSession,SyncCycleState, SyncProcessState, SyncerSession, Syncer... (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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 entry. 3 // found in the LICENSE entry.
4 4
5 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_ 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_ 6 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/sync/engine/syncer_command.h" 9 #include "chrome/browser/sync/engine/syncer_command.h"
10 10
11 namespace browser_sync { 11 namespace browser_sync {
12 12
13 class SyncerSession;
14
15 // A syncer command for wrapping up a sync cycle. 13 // A syncer command for wrapping up a sync cycle.
16 // 14 //
17 // Preconditions - syncing is complete. 15 // Preconditions - syncing is complete.
18 // 16 //
19 // Postconditions - The UI has been told that we're done syncing. 17 // Postconditions - The UI has been told that we're done syncing.
20 18
21 class SyncerEndCommand : public SyncerCommand { 19 class SyncerEndCommand : public SyncerCommand {
22 public: 20 public:
23 SyncerEndCommand(); 21 SyncerEndCommand();
24 virtual ~SyncerEndCommand(); 22 virtual ~SyncerEndCommand();
25 23
26 virtual void ExecuteImpl(SyncerSession* session); 24 // SyncerCommand implementation.
25 virtual void ExecuteImpl(sessions::SyncSession* session);
27 private: 26 private:
28 DISALLOW_COPY_AND_ASSIGN(SyncerEndCommand); 27 DISALLOW_COPY_AND_ASSIGN(SyncerEndCommand);
29 }; 28 };
30 29
31 } // namespace browser_sync 30 } // namespace browser_sync
32 31
33 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_ 32 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_END_COMMAND_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/syncer_command.cc ('k') | chrome/browser/sync/engine/syncer_end_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698