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

Side by Side Diff: components/sync/syncable/mutable_entry.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable Created 4 years, 2 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
OLDNEW
1 // Copyright 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 "components/sync/syncable/mutable_entry.h" 5 #include "components/sync/syncable/mutable_entry.h"
6 6
7 #include <stdint.h>
8
9 #include <memory> 7 #include <memory>
10 8
11 #include "components/sync/base/unique_position.h" 9 #include "components/sync/base/unique_position.h"
12 #include "components/sync/syncable/directory.h" 10 #include "components/sync/syncable/directory.h"
13 #include "components/sync/syncable/scoped_kernel_lock.h" 11 #include "components/sync/syncable/scoped_kernel_lock.h"
14 #include "components/sync/syncable/scoped_parent_child_index_updater.h" 12 #include "components/sync/syncable/scoped_parent_child_index_updater.h"
15 #include "components/sync/syncable/syncable_changes_version.h" 13 #include "components/sync/syncable/syncable_changes_version.h"
16 #include "components/sync/syncable/syncable_util.h" 14 #include "components/sync/syncable/syncable_util.h"
17 #include "components/sync/syncable/syncable_write_transaction.h" 15 #include "components/sync/syncable/syncable_write_transaction.h"
18 16
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 DCHECK(!e->IsRoot()) << "We shouldn't mark a permanent object for syncing."; 309 DCHECK(!e->IsRoot()) << "We shouldn't mark a permanent object for syncing.";
312 if (!(e->PutIsUnsynced(true))) 310 if (!(e->PutIsUnsynced(true)))
313 return false; 311 return false;
314 if (e->GetSyncing()) 312 if (e->GetSyncing())
315 e->PutDirtySync(true); 313 e->PutDirtySync(true);
316 return true; 314 return true;
317 } 315 }
318 316
319 } // namespace syncable 317 } // namespace syncable
320 } // namespace syncer 318 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/syncable/model_neutral_mutable_entry.cc ('k') | components/sync/syncable/parent_child_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698