OLD | NEW |
(Empty) | |
| 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_DOWNLOAD_UPDATES_COMMAND_H_ |
| 6 #define CHROME_BROWSER_SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "chrome/browser/sync/engine/syncer_command.h" |
| 10 #include "chrome/browser/sync/engine/syncer_session.h" |
| 11 |
| 12 namespace browser_sync { |
| 13 |
| 14 // Downloads updates from the server and places them in the SyncerSession. |
| 15 class DownloadUpdatesCommand : public SyncerCommand { |
| 16 public: |
| 17 DownloadUpdatesCommand(); |
| 18 virtual ~DownloadUpdatesCommand(); |
| 19 virtual void ExecuteImpl(SyncerSession *session); |
| 20 |
| 21 private: |
| 22 DISALLOW_COPY_AND_ASSIGN(DownloadUpdatesCommand); |
| 23 }; |
| 24 |
| 25 } // namespace browser_sync |
| 26 |
| 27 #endif // CHROME_BROWSER_SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_ |
OLD | NEW |