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

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

Issue 10696087: [Sync] Move ModelType and related classes to 'syncer' namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort headers, update copyrights Created 8 years, 5 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/update_applicator.cc ('k') | sync/engine/verify_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_VERIFY_UPDATES_COMMAND_H_ 5 #ifndef SYNC_ENGINE_VERIFY_UPDATES_COMMAND_H_
6 #define SYNC_ENGINE_VERIFY_UPDATES_COMMAND_H_ 6 #define SYNC_ENGINE_VERIFY_UPDATES_COMMAND_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 22 matching lines...) Expand all
33 virtual SyncerError ModelChangingExecuteImpl( 33 virtual SyncerError ModelChangingExecuteImpl(
34 sessions::SyncSession* session) OVERRIDE; 34 sessions::SyncSession* session) OVERRIDE;
35 35
36 private: 36 private:
37 struct VerifyUpdateResult { 37 struct VerifyUpdateResult {
38 VerifyResult value; 38 VerifyResult value;
39 ModelSafeGroup placement; 39 ModelSafeGroup placement;
40 }; 40 };
41 VerifyUpdateResult VerifyUpdate(syncable::WriteTransaction* trans, 41 VerifyUpdateResult VerifyUpdate(syncable::WriteTransaction* trans,
42 const SyncEntity& entry, 42 const SyncEntity& entry,
43 const syncable::ModelTypeSet& requested_types, 43 const syncer::ModelTypeSet& requested_types,
44 const ModelSafeRoutingInfo& routes); 44 const ModelSafeRoutingInfo& routes);
45 DISALLOW_COPY_AND_ASSIGN(VerifyUpdatesCommand); 45 DISALLOW_COPY_AND_ASSIGN(VerifyUpdatesCommand);
46 }; 46 };
47 47
48 } // namespace syncer 48 } // namespace syncer
49 49
50 #endif // SYNC_ENGINE_VERIFY_UPDATES_COMMAND_H_ 50 #endif // SYNC_ENGINE_VERIFY_UPDATES_COMMAND_H_
OLDNEW
« no previous file with comments | « sync/engine/update_applicator.cc ('k') | sync/engine/verify_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698