OLD | NEW |
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 <stddef.h> | |
8 #include <stdint.h> | |
9 | |
10 #include <string> | |
11 | |
12 #include "components/sync/base/unique_position.h" | 7 #include "components/sync/base/unique_position.h" |
13 #include "components/sync/syncable/directory.h" | 8 #include "components/sync/syncable/directory.h" |
14 #include "components/sync/syncable/scoped_kernel_lock.h" | 9 #include "components/sync/syncable/scoped_kernel_lock.h" |
15 #include "components/sync/syncable/syncable_changes_version.h" | 10 #include "components/sync/syncable/syncable_changes_version.h" |
16 #include "components/sync/syncable/syncable_util.h" | 11 #include "components/sync/syncable/syncable_util.h" |
17 #include "components/sync/syncable/syncable_write_transaction.h" | 12 #include "components/sync/syncable/syncable_write_transaction.h" |
18 | 13 |
19 using std::string; | 14 using std::string; |
20 | 15 |
21 namespace syncer { | 16 namespace syncer { |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 ModelNeutralMutableEntry::ModelNeutralMutableEntry(BaseWriteTransaction* trans) | 447 ModelNeutralMutableEntry::ModelNeutralMutableEntry(BaseWriteTransaction* trans) |
453 : Entry(trans), base_write_transaction_(trans) {} | 448 : Entry(trans), base_write_transaction_(trans) {} |
454 | 449 |
455 void ModelNeutralMutableEntry::MarkDirty() { | 450 void ModelNeutralMutableEntry::MarkDirty() { |
456 kernel_->mark_dirty(&dir()->kernel()->dirty_metahandles); | 451 kernel_->mark_dirty(&dir()->kernel()->dirty_metahandles); |
457 } | 452 } |
458 | 453 |
459 } // namespace syncable | 454 } // namespace syncable |
460 | 455 |
461 } // namespace syncer | 456 } // namespace syncer |
OLD | NEW |