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

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

Issue 1161006: Make it clear what last_sync_timestamp actually tracks. Update (Closed)
Patch Set: Undo accidental patch-juggling mistake. Created 10 years, 9 months 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
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_PROCESS_UPDATES_COMMAND_H_ 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_ 6 #define CHROME_BROWSER_SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_
7 7
8 #include "chrome/browser/sync/engine/model_changing_syncer_command.h" 8 #include "chrome/browser/sync/engine/model_changing_syncer_command.h"
9 #include "chrome/browser/sync/engine/syncer_types.h" 9 #include "chrome/browser/sync/engine/syncer_types.h"
10 10
(...skipping 14 matching lines...) Expand all
25 // 25 //
26 // Postconditions - All of the verified SyncEntity data will be copied to 26 // Postconditions - All of the verified SyncEntity data will be copied to
27 // the server fields of the corresponding syncable entries. 27 // the server fields of the corresponding syncable entries.
28 // TODO(tim): This should not be ModelChanging (bug 36592). 28 // TODO(tim): This should not be ModelChanging (bug 36592).
29 class ProcessUpdatesCommand : public ModelChangingSyncerCommand { 29 class ProcessUpdatesCommand : public ModelChangingSyncerCommand {
30 public: 30 public:
31 ProcessUpdatesCommand(); 31 ProcessUpdatesCommand();
32 virtual ~ProcessUpdatesCommand(); 32 virtual ~ProcessUpdatesCommand();
33 33
34 // ModelChangingSyncerCommand implementation. 34 // ModelChangingSyncerCommand implementation.
35 virtual bool ModelNeutralExecuteImpl(sessions::SyncSession* session);
35 virtual void ModelChangingExecuteImpl(sessions::SyncSession* session); 36 virtual void ModelChangingExecuteImpl(sessions::SyncSession* session);
36 37
37 private: 38 private:
38 ServerUpdateProcessingResult ProcessUpdate( 39 ServerUpdateProcessingResult ProcessUpdate(
39 const syncable::ScopedDirLookup& dir, 40 const syncable::ScopedDirLookup& dir,
40 const sync_pb::SyncEntity& pb_entry); 41 const sync_pb::SyncEntity& pb_entry);
41 DISALLOW_COPY_AND_ASSIGN(ProcessUpdatesCommand); 42 DISALLOW_COPY_AND_ASSIGN(ProcessUpdatesCommand);
42 }; 43 };
43 44
44 } // namespace browser_sync 45 } // namespace browser_sync
45 46
46 #endif // CHROME_BROWSER_SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_ 47 #endif // CHROME_BROWSER_SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/download_updates_command.cc ('k') | chrome/browser/sync/engine/process_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698