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

Side by Side Diff: sync/engine/download_updates_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/conflict_resolver.cc ('k') | sync/engine/download_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_DOWNLOAD_UPDATES_COMMAND_H_ 5 #ifndef SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_
6 #define SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_ 6 #define SYNC_ENGINE_DOWNLOAD_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"
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/internal_api/public/engine/model_safe_worker.h" 13 #include "sync/internal_api/public/engine/model_safe_worker.h"
14 #include "sync/internal_api/public/syncable/model_type.h" 14 #include "sync/internal_api/public/syncable/model_type.h"
15 #include "sync/protocol/sync.pb.h" 15 #include "sync/protocol/sync.pb.h"
16 16
17 namespace sync_pb { 17 namespace sync_pb {
18 class EntitySpecifics; 18 class EntitySpecifics;
19 } 19 }
20 20
21 namespace csync { 21 namespace syncer {
22 22
23 // Determine the enabled datatypes, download a batch of updates for them 23 // Determine the enabled datatypes, download a batch of updates for them
24 // from the server, place the result in the SyncSession for further processing. 24 // from the server, place the result in the SyncSession for further processing.
25 // 25 //
26 // The main inputs to this operation are the download_progress state 26 // The main inputs to this operation are the download_progress state
27 // in the syncable::Directory, and the set of enabled types as indicated by 27 // in the syncable::Directory, and the set of enabled types as indicated by
28 // the SyncSession. DownloadUpdatesCommand will fetch updates for 28 // the SyncSession. DownloadUpdatesCommand will fetch updates for
29 // all the enabled types, using download_progress to indicate the starting 29 // all the enabled types, using download_progress to indicate the starting
30 // point to the server. DownloadUpdatesCommand stores the server response 30 // point to the server. DownloadUpdatesCommand stores the server response
31 // in the SyncSession. Only one server request is performed per Execute 31 // in the SyncSession. Only one server request is performed per Execute
(...skipping 20 matching lines...) Expand all
52 private: 52 private:
53 FRIEND_TEST_ALL_PREFIXES(DownloadUpdatesCommandTest, VerifyAppendDebugInfo); 53 FRIEND_TEST_ALL_PREFIXES(DownloadUpdatesCommandTest, VerifyAppendDebugInfo);
54 void AppendClientDebugInfoIfNeeded(sessions::SyncSession* session, 54 void AppendClientDebugInfoIfNeeded(sessions::SyncSession* session,
55 sync_pb::DebugInfo* debug_info); 55 sync_pb::DebugInfo* debug_info);
56 56
57 const bool create_mobile_bookmarks_folder_; 57 const bool create_mobile_bookmarks_folder_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(DownloadUpdatesCommand); 59 DISALLOW_COPY_AND_ASSIGN(DownloadUpdatesCommand);
60 }; 60 };
61 61
62 } // namespace csync 62 } // namespace syncer
63 63
64 #endif // SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_ 64 #endif // SYNC_ENGINE_DOWNLOAD_UPDATES_COMMAND_H_
65 65
OLDNEW
« no previous file with comments | « sync/engine/conflict_resolver.cc ('k') | sync/engine/download_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698