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

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

Issue 10933075: FYI: Remove PerModelSafeGroupState + move ConflictResolution (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « sync/engine/process_commit_response_command.cc ('k') | sync/engine/process_updates_command.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_PROCESS_UPDATES_COMMAND_H_ 5 #ifndef SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_
6 #define SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_ 6 #define SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "sync/engine/model_changing_syncer_command.h" 9 #include "sync/engine/model_changing_syncer_command.h"
10 #include "sync/engine/syncer_types.h" 10 #include "sync/engine/syncer_types.h"
(...skipping 24 matching lines...) Expand all
35 virtual ~ProcessUpdatesCommand(); 35 virtual ~ProcessUpdatesCommand();
36 36
37 protected: 37 protected:
38 // ModelChangingSyncerCommand implementation. 38 // ModelChangingSyncerCommand implementation.
39 virtual std::set<ModelSafeGroup> GetGroupsToChange( 39 virtual std::set<ModelSafeGroup> GetGroupsToChange(
40 const sessions::SyncSession& session) const OVERRIDE; 40 const sessions::SyncSession& session) const OVERRIDE;
41 virtual SyncerError ModelChangingExecuteImpl( 41 virtual SyncerError ModelChangingExecuteImpl(
42 sessions::SyncSession* session) OVERRIDE; 42 sessions::SyncSession* session) OVERRIDE;
43 43
44 private: 44 private:
45 VerifyResult VerifyUpdate(
46 syncable::WriteTransaction* trans,
47 const sync_pb::SyncEntity& entry,
48 ModelTypeSet requested_types,
49 const ModelSafeRoutingInfo& routes);
45 ServerUpdateProcessingResult ProcessUpdate( 50 ServerUpdateProcessingResult ProcessUpdate(
46 const sync_pb::SyncEntity& proto_update, 51 const sync_pb::SyncEntity& proto_update,
47 const Cryptographer* cryptographer, 52 const Cryptographer* cryptographer,
48 syncable::WriteTransaction* const trans); 53 syncable::WriteTransaction* const trans);
49 DISALLOW_COPY_AND_ASSIGN(ProcessUpdatesCommand); 54 DISALLOW_COPY_AND_ASSIGN(ProcessUpdatesCommand);
50 }; 55 };
51 56
52 } // namespace syncer 57 } // namespace syncer
53 58
54 #endif // SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_ 59 #endif // SYNC_ENGINE_PROCESS_UPDATES_COMMAND_H_
OLDNEW
« no previous file with comments | « sync/engine/process_commit_response_command.cc ('k') | sync/engine/process_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698