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

Side by Side Diff: sync/engine/download_updates_command.cc

Issue 11638018: [sync] Componentize sync: Part 5: Eliminate filename collisions in sync.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comments Created 8 years 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/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 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 #include "sync/engine/download_updates_command.h" 5 #include "sync/engine/download_updates_command.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "sync/engine/syncer.h" 10 #include "sync/engine/syncer.h"
11 #include "sync/engine/syncer_proto_util.h" 11 #include "sync/engine/syncer_proto_util.h"
12 #include "sync/internal_api/public/base/model_type_invalidation_map.h" 12 #include "sync/internal_api/public/base/model_type_invalidation_map.h"
13 #include "sync/syncable/directory.h" 13 #include "sync/syncable/directory.h"
14 #include "sync/syncable/nigori_handler.h" 14 #include "sync/syncable/nigori_handler.h"
15 #include "sync/syncable/read_transaction.h" 15 #include "sync/syncable/syncable_read_transaction.h"
16 16
17 using sync_pb::DebugInfo; 17 using sync_pb::DebugInfo;
18 18
19 namespace syncer { 19 namespace syncer {
20 using sessions::StatusController; 20 using sessions::StatusController;
21 using sessions::SyncSession; 21 using sessions::SyncSession;
22 using std::string; 22 using std::string;
23 23
24 DownloadUpdatesCommand::DownloadUpdatesCommand( 24 DownloadUpdatesCommand::DownloadUpdatesCommand(
25 bool create_mobile_bookmarks_folder) 25 bool create_mobile_bookmarks_folder)
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // could be null in some unit tests. 157 // could be null in some unit tests.
158 if (session->context()->debug_info_getter()) { 158 if (session->context()->debug_info_getter()) {
159 session->context()->debug_info_getter()->GetAndClearDebugInfo( 159 session->context()->debug_info_getter()->GetAndClearDebugInfo(
160 debug_info); 160 debug_info);
161 } 161 }
162 session->mutable_status_controller()->set_debug_info_sent(); 162 session->mutable_status_controller()->set_debug_info_sent();
163 } 163 }
164 } 164 }
165 165
166 } // namespace syncer 166 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/engine/conflict_resolver.cc ('k') | sync/engine/get_commit_ids_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698