| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_STORE_TIMESTAMPS_COMMAND_H_ | 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_STORE_TIMESTAMPS_COMMAND_H_ |
| 6 #define CHROME_BROWSER_SYNC_ENGINE_STORE_TIMESTAMPS_COMMAND_H_ | 6 #define CHROME_BROWSER_SYNC_ENGINE_STORE_TIMESTAMPS_COMMAND_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "chrome/browser/sync/engine/syncer_command.h" | 10 #include "chrome/browser/sync/engine/syncer_command.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 // | 23 // |
| 24 // Postconditions - The next_timestamp returned by the server will be | 24 // Postconditions - The next_timestamp returned by the server will be |
| 25 // saved into the directory (where it will be used | 25 // saved into the directory (where it will be used |
| 26 // the next time that DownloadUpdatesCommand runs). | 26 // the next time that DownloadUpdatesCommand runs). |
| 27 class StoreTimestampsCommand : public SyncerCommand { | 27 class StoreTimestampsCommand : public SyncerCommand { |
| 28 public: | 28 public: |
| 29 StoreTimestampsCommand(); | 29 StoreTimestampsCommand(); |
| 30 virtual ~StoreTimestampsCommand(); | 30 virtual ~StoreTimestampsCommand(); |
| 31 | 31 |
| 32 // SyncerCommand implementation. | 32 // SyncerCommand implementation. |
| 33 virtual void ExecuteImpl(sessions::SyncSession* session) OVERRIDE; | 33 virtual SyncerError ExecuteImpl(sessions::SyncSession* session) OVERRIDE; |
| 34 | 34 |
| 35 private: | 35 private: |
| 36 DISALLOW_COPY_AND_ASSIGN(StoreTimestampsCommand); | 36 DISALLOW_COPY_AND_ASSIGN(StoreTimestampsCommand); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace browser_sync | 39 } // namespace browser_sync |
| 40 | 40 |
| 41 #endif // CHROME_BROWSER_SYNC_ENGINE_STORE_TIMESTAMPS_COMMAND_H_ | 41 #endif // CHROME_BROWSER_SYNC_ENGINE_STORE_TIMESTAMPS_COMMAND_H_ |
| OLD | NEW |