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

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

Issue 2389063002: [Sync] Fixing easy lint violations. (Closed)
Patch Set: Updated for Max's comments. 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/model_neutral_mutable_entry.h" 5 #include "components/sync/syncable/model_neutral_mutable_entry.h"
6 6
7 #include <memory>
8
7 #include "components/sync/base/unique_position.h" 9 #include "components/sync/base/unique_position.h"
8 #include "components/sync/syncable/directory.h" 10 #include "components/sync/syncable/directory.h"
9 #include "components/sync/syncable/scoped_kernel_lock.h" 11 #include "components/sync/syncable/scoped_kernel_lock.h"
10 #include "components/sync/syncable/syncable_changes_version.h" 12 #include "components/sync/syncable/syncable_changes_version.h"
11 #include "components/sync/syncable/syncable_util.h" 13 #include "components/sync/syncable/syncable_util.h"
12 #include "components/sync/syncable/syncable_write_transaction.h" 14 #include "components/sync/syncable/syncable_write_transaction.h"
13 15
14 using std::string; 16 using std::string;
15 17
16 namespace syncer { 18 namespace syncer {
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 ModelNeutralMutableEntry::ModelNeutralMutableEntry(BaseWriteTransaction* trans) 449 ModelNeutralMutableEntry::ModelNeutralMutableEntry(BaseWriteTransaction* trans)
448 : Entry(trans), base_write_transaction_(trans) {} 450 : Entry(trans), base_write_transaction_(trans) {}
449 451
450 void ModelNeutralMutableEntry::MarkDirty() { 452 void ModelNeutralMutableEntry::MarkDirty() {
451 kernel_->mark_dirty(&dir()->kernel()->dirty_metahandles); 453 kernel_->mark_dirty(&dir()->kernel()->dirty_metahandles);
452 } 454 }
453 455
454 } // namespace syncable 456 } // namespace syncable
455 457
456 } // namespace syncer 458 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/syncable/directory_backing_store.cc ('k') | components/sync/syncable/parent_child_index_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698