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

Side by Side Diff: sync/engine/get_commit_ids_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/download_updates_command.cc ('k') | sync/engine/process_commit_response_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/get_commit_ids_command.h" 5 #include "sync/engine/get_commit_ids_command.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "sync/engine/syncer_util.h" 11 #include "sync/engine/syncer_util.h"
12 #include "sync/engine/throttled_data_type_tracker.h" 12 #include "sync/engine/throttled_data_type_tracker.h"
13 #include "sync/syncable/entry.h" 13 #include "sync/syncable/entry.h"
14 #include "sync/syncable/mutable_entry.h" 14 #include "sync/syncable/mutable_entry.h"
15 #include "sync/syncable/nigori_handler.h" 15 #include "sync/syncable/nigori_handler.h"
16 #include "sync/syncable/nigori_util.h" 16 #include "sync/syncable/nigori_util.h"
17 #include "sync/syncable/syncable_util.h" 17 #include "sync/syncable/syncable_util.h"
18 #include "sync/syncable/write_transaction.h" 18 #include "sync/syncable/syncable_write_transaction.h"
19 #include "sync/util/cryptographer.h" 19 #include "sync/util/cryptographer.h"
20 20
21 using std::set; 21 using std::set;
22 using std::vector; 22 using std::vector;
23 23
24 namespace syncer { 24 namespace syncer {
25 25
26 using sessions::OrderedCommitSet; 26 using sessions::OrderedCommitSet;
27 using sessions::SyncSession; 27 using sessions::SyncSession;
28 using sessions::StatusController; 28 using sessions::StatusController;
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 // delete trees. 428 // delete trees.
429 429
430 // Add moves and creates, and prepend their uncommitted parents. 430 // Add moves and creates, and prepend their uncommitted parents.
431 AddCreatesAndMoves(write_transaction, routes, ready_unsynced_set); 431 AddCreatesAndMoves(write_transaction, routes, ready_unsynced_set);
432 432
433 // Add all deletes. 433 // Add all deletes.
434 AddDeletes(write_transaction, ready_unsynced_set); 434 AddDeletes(write_transaction, ready_unsynced_set);
435 } 435 }
436 436
437 } // namespace syncer 437 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/engine/download_updates_command.cc ('k') | sync/engine/process_commit_response_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698