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

Side by Side Diff: sync/engine/get_commit_ids_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/download_updates_command_unittest.cc ('k') | sync/engine/get_commit_ids_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_GET_COMMIT_IDS_COMMAND_H_ 5 #ifndef SYNC_ENGINE_GET_COMMIT_IDS_COMMAND_H_
6 #define SYNC_ENGINE_GET_COMMIT_IDS_COMMAND_H_ 6 #define SYNC_ENGINE_GET_COMMIT_IDS_COMMAND_H_
7 #pragma once 7 #pragma once
8 8
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "sync/engine/syncer_command.h" 13 #include "sync/engine/syncer_command.h"
14 #include "sync/engine/syncer_util.h" 14 #include "sync/engine/syncer_util.h"
15 #include "sync/sessions/ordered_commit_set.h" 15 #include "sync/sessions/ordered_commit_set.h"
16 #include "sync/sessions/sync_session.h" 16 #include "sync/sessions/sync_session.h"
17 #include "sync/syncable/directory.h" 17 #include "sync/syncable/directory.h"
18 18
19 using std::pair; 19 using std::pair;
20 using std::vector; 20 using std::vector;
21 21
22 namespace csync { 22 namespace syncer {
23 23
24 // A class that contains the code used to search the syncable::Directory for 24 // A class that contains the code used to search the syncable::Directory for
25 // locally modified items that are ready to be committed to the server. 25 // locally modified items that are ready to be committed to the server.
26 // 26 //
27 // See SyncerCommand documentation for more info. 27 // See SyncerCommand documentation for more info.
28 class GetCommitIdsCommand : public SyncerCommand { 28 class GetCommitIdsCommand : public SyncerCommand {
29 friend class SyncerTest; 29 friend class SyncerTest;
30 30
31 public: 31 public:
32 // The batch_size parameter is the maximum number of entries we are allowed 32 // The batch_size parameter is the maximum number of entries we are allowed
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 // Input parameter; see constructor comment. 129 // Input parameter; see constructor comment.
130 const size_t requested_commit_batch_size_; 130 const size_t requested_commit_batch_size_;
131 131
132 // Output parameter; see constructor comment. 132 // Output parameter; see constructor comment.
133 sessions::OrderedCommitSet* commit_set_; 133 sessions::OrderedCommitSet* commit_set_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(GetCommitIdsCommand); 135 DISALLOW_COPY_AND_ASSIGN(GetCommitIdsCommand);
136 }; 136 };
137 137
138 } // namespace csync 138 } // namespace syncer
139 139
140 #endif // SYNC_ENGINE_GET_COMMIT_IDS_COMMAND_H_ 140 #endif // SYNC_ENGINE_GET_COMMIT_IDS_COMMAND_H_
OLDNEW
« no previous file with comments | « sync/engine/download_updates_command_unittest.cc ('k') | sync/engine/get_commit_ids_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698