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

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

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments 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/apply_updates_command_unittest.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 { 16 namespace syncable {
17 class Entry; 17 class Entry;
18 } 18 }
19 19
20 namespace csync { 20 namespace syncer {
21 21
22 namespace sessions { 22 namespace sessions {
23 class OrderedCommitSet; 23 class OrderedCommitSet;
24 } 24 }
25 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.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 DISALLOW_COPY_AND_ASSIGN(BuildCommitCommand); 68 DISALLOW_COPY_AND_ASSIGN(BuildCommitCommand);
69 69
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 csync 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 | « sync/engine/apply_updates_command_unittest.cc ('k') | sync/engine/build_commit_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698