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

Side by Side Diff: chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc

Issue 7879006: Delete Tracked, and move Location to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/sync/engine/build_and_process_conflict_sets_command.h" 5 #include "chrome/browser/sync/engine/build_and_process_conflict_sets_command.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <sstream> 9 #include <sstream>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/format_macros.h" 13 #include "base/format_macros.h"
14 #include "base/tracked.h" 14 #include "base/location.h"
15 #include "chrome/browser/sync/engine/syncer_util.h" 15 #include "chrome/browser/sync/engine/syncer_util.h"
16 #include "chrome/browser/sync/engine/update_applicator.h" 16 #include "chrome/browser/sync/engine/update_applicator.h"
17 #include "chrome/browser/sync/sessions/sync_session.h" 17 #include "chrome/browser/sync/sessions/sync_session.h"
18 #include "chrome/browser/sync/syncable/directory_manager.h" 18 #include "chrome/browser/sync/syncable/directory_manager.h"
19 19
20 namespace browser_sync { 20 namespace browser_sync {
21 21
22 using sessions::ConflictProgress; 22 using sessions::ConflictProgress;
23 using sessions::StatusController; 23 using sessions::StatusController;
24 using sessions::SyncSession; 24 using sessions::SyncSession;
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 LocallyDeletedPathChecker checker; 400 LocallyDeletedPathChecker checker;
401 if (!checker.CausingConflict(parent, *entry)) 401 if (!checker.CausingConflict(parent, *entry))
402 return; 402 return;
403 conflict_progress->MergeSets(entry->Get(syncable::ID), 403 conflict_progress->MergeSets(entry->Get(syncable::ID),
404 parent.Get(syncable::ID)); 404 parent.Get(syncable::ID));
405 CrawlDeletedTreeMergingSets(trans, parent, conflict_progress, checker); 405 CrawlDeletedTreeMergingSets(trans, parent, conflict_progress, checker);
406 } 406 }
407 } 407 }
408 408
409 } // namespace browser_sync 409 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/apply_updates_command_unittest.cc ('k') | chrome/browser/sync/engine/conflict_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698