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

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

Issue 10699044: [Sync] Move sync/{internal_api,syncable} into syncer namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head 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 | « chrome/browser/sync/test_profile_sync_service.cc ('k') | sync/engine/build_commit_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_BUILD_COMMIT_COMMAND_H_ 5 #ifndef SYNC_ENGINE_BUILD_COMMIT_COMMAND_H_
6 #define SYNC_ENGINE_BUILD_COMMIT_COMMAND_H_ 6 #define SYNC_ENGINE_BUILD_COMMIT_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"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "sync/engine/syncer_command.h" 12 #include "sync/engine/syncer_command.h"
13 #include "sync/engine/syncproto.h" 13 #include "sync/engine/syncproto.h"
14 #include "sync/syncable/entry_kernel.h" 14 #include "sync/syncable/entry_kernel.h"
15 15
16 namespace syncable {
17 class Entry;
18 }
19
20 namespace syncer { 16 namespace syncer {
21 17
22 namespace sessions { 18 namespace sessions {
23 class OrderedCommitSet; 19 class OrderedCommitSet;
24 } 20 }
25 21
22 namespace syncable {
23 class Entry;
24 }
25
26 // A class that contains the code used to serialize a set of sync items into a 26 // A class that contains the code used to serialize a set of sync items into a
27 // protobuf commit message. This conversion process references the 27 // protobuf commit message. This conversion process references the
28 // syncable::Directory, which is why it must be called within the same 28 // syncable::Directory, which is why it must be called within the same
29 // transaction as the GetCommitIdsCommand that fetched the set of items to be 29 // transaction as the GetCommitIdsCommand that fetched the set of items to be
30 // committed. 30 // committed.
31 // 31 //
32 // See SyncerCommand documentation for more info. 32 // See SyncerCommand documentation for more info.
33 class BuildCommitCommand : public SyncerCommand { 33 class BuildCommitCommand : public SyncerCommand {
34 public: 34 public:
35 // The batch_commit_set parameter contains a set of references to the items 35 // The batch_commit_set parameter contains a set of references to the items
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Input parameter; see constructor comment. 70 // Input parameter; see constructor comment.
71 const sessions::OrderedCommitSet& batch_commit_set_; 71 const sessions::OrderedCommitSet& batch_commit_set_;
72 72
73 // Output parameter; see constructor comment. 73 // Output parameter; see constructor comment.
74 ClientToServerMessage* commit_message_; 74 ClientToServerMessage* commit_message_;
75 }; 75 };
76 76
77 } // namespace syncer 77 } // namespace syncer
78 78
79 #endif // SYNC_ENGINE_BUILD_COMMIT_COMMAND_H_ 79 #endif // SYNC_ENGINE_BUILD_COMMIT_COMMAND_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.cc ('k') | sync/engine/build_commit_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698