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

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

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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) 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 #include "chrome/browser/sync/engine/process_commit_response_command.h" 5 #include "sync/engine/process_commit_response_command.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "chrome/browser/sync/engine/syncer_proto_util.h" 14 #include "sync/engine/syncer_proto_util.h"
15 #include "chrome/browser/sync/engine/syncer_util.h" 15 #include "sync/engine/syncer_util.h"
16 #include "chrome/browser/sync/engine/syncproto.h" 16 #include "sync/engine/syncproto.h"
17 #include "chrome/browser/sync/sessions/sync_session.h" 17 #include "sync/sessions/sync_session.h"
18 #include "chrome/browser/sync/syncable/syncable.h" 18 #include "sync/syncable/syncable.h"
19 #include "chrome/browser/sync/util/time.h" 19 #include "sync/util/time.h"
20 20
21 using syncable::WriteTransaction; 21 using syncable::WriteTransaction;
22 using syncable::MutableEntry; 22 using syncable::MutableEntry;
23 using syncable::Entry; 23 using syncable::Entry;
24 24
25 using std::set; 25 using std::set;
26 using std::string; 26 using std::string;
27 using std::vector; 27 using std::vector;
28 28
29 using syncable::BASE_VERSION; 29 using syncable::BASE_VERSION;
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 // been recursively deleted. 473 // been recursively deleted.
474 // TODO(nick): Here, commit_message.deleted() would be more correct than 474 // TODO(nick): Here, commit_message.deleted() would be more correct than
475 // local_entry->Get(IS_DEL). For example, an item could be renamed, and then 475 // local_entry->Get(IS_DEL). For example, an item could be renamed, and then
476 // deleted during the commit of the rename. Unit test & fix. 476 // deleted during the commit of the rename. Unit test & fix.
477 if (local_entry->Get(IS_DIR) && local_entry->Get(IS_DEL)) { 477 if (local_entry->Get(IS_DIR) && local_entry->Get(IS_DEL)) {
478 deleted_folders->insert(local_entry->Get(ID)); 478 deleted_folders->insert(local_entry->Get(ID));
479 } 479 }
480 } 480 }
481 481
482 } // namespace browser_sync 482 } // namespace browser_sync
OLDNEW
« no previous file with comments | « sync/engine/process_commit_response_command.h ('k') | sync/engine/process_commit_response_command_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698