OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 SYNC_ENGINE_STORE_TIMESTAMPS_COMMAND_H_ | 5 #ifndef SYNC_ENGINE_STORE_TIMESTAMPS_COMMAND_H_ |
6 #define SYNC_ENGINE_STORE_TIMESTAMPS_COMMAND_H_ | 6 #define SYNC_ENGINE_STORE_TIMESTAMPS_COMMAND_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "sync/engine/syncer_command.h" | 9 #include "sync/engine/syncer_command.h" |
11 #include "sync/engine/syncer_types.h" | 10 #include "sync/engine/syncer_types.h" |
12 | 11 |
13 namespace syncer { | 12 namespace syncer { |
14 | 13 |
15 // A syncer command that extracts the changelog timestamp information from | 14 // A syncer command that extracts the changelog timestamp information from |
16 // a GetUpdatesResponse (fetched in DownloadUpdatesCommand) and stores | 15 // a GetUpdatesResponse (fetched in DownloadUpdatesCommand) and stores |
17 // it in the directory. This is meant to run immediately after | 16 // it in the directory. This is meant to run immediately after |
(...skipping 14 matching lines...) Expand all Loading... |
32 // SyncerCommand implementation. | 31 // SyncerCommand implementation. |
33 virtual SyncerError ExecuteImpl(sessions::SyncSession* session) OVERRIDE; | 32 virtual SyncerError ExecuteImpl(sessions::SyncSession* session) OVERRIDE; |
34 | 33 |
35 private: | 34 private: |
36 DISALLOW_COPY_AND_ASSIGN(StoreTimestampsCommand); | 35 DISALLOW_COPY_AND_ASSIGN(StoreTimestampsCommand); |
37 }; | 36 }; |
38 | 37 |
39 } // namespace syncer | 38 } // namespace syncer |
40 | 39 |
41 #endif // SYNC_ENGINE_STORE_TIMESTAMPS_COMMAND_H_ | 40 #endif // SYNC_ENGINE_STORE_TIMESTAMPS_COMMAND_H_ |
OLD | NEW |