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

Side by Side Diff: chrome/browser/sync/engine/download_updates_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) 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_DOWNLOAD_UPDATES_COMMAND_H_ 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_ 6 #define CHROME_BROWSER_SYNC_ENGINE_DOWNLOAD_UPDATES_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 #include "chrome/browser/sync/engine/syncer_session.h"
11 10
12 namespace browser_sync { 11 namespace browser_sync {
13 12
14 // Downloads updates from the server and places them in the SyncerSession. 13 // Downloads updates from the server and places them in the SyncSession.
15 class DownloadUpdatesCommand : public SyncerCommand { 14 class DownloadUpdatesCommand : public SyncerCommand {
16 public: 15 public:
17 DownloadUpdatesCommand(); 16 DownloadUpdatesCommand();
18 virtual ~DownloadUpdatesCommand(); 17 virtual ~DownloadUpdatesCommand();
19 virtual void ExecuteImpl(SyncerSession* session); 18
19 // SyncerCommand implementation.
20 virtual void ExecuteImpl(sessions::SyncSession* session);
20 21
21 private: 22 private:
22 DISALLOW_COPY_AND_ASSIGN(DownloadUpdatesCommand); 23 DISALLOW_COPY_AND_ASSIGN(DownloadUpdatesCommand);
23 }; 24 };
24 25
25 } // namespace browser_sync 26 } // namespace browser_sync
26 27
27 #endif // CHROME_BROWSER_SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_ 28 #endif // CHROME_BROWSER_SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/conflict_resolver.cc ('k') | chrome/browser/sync/engine/download_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698