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/syncable_delete_journal.h" | 5 #include "components/sync/syncable/syncable_delete_journal.h" |
6 | 6 |
7 #include <stddef.h> | |
8 #include <stdint.h> | 7 #include <stdint.h> |
9 | 8 |
10 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
11 #include "components/sync/base/model_type.h" | 10 #include "components/sync/base/model_type.h" |
12 | 11 |
13 namespace syncer { | 12 namespace syncer { |
14 namespace syncable { | 13 namespace syncable { |
15 | 14 |
16 DeleteJournal::DeleteJournal(std::unique_ptr<JournalIndex> initial_journal) { | 15 DeleteJournal::DeleteJournal(std::unique_ptr<JournalIndex> initial_journal) { |
17 CHECK(initial_journal); | 16 CHECK(initial_journal); |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 switch (type) { | 136 switch (type) { |
138 case BOOKMARKS: | 137 case BOOKMARKS: |
139 return true; | 138 return true; |
140 default: | 139 default: |
141 return false; | 140 return false; |
142 } | 141 } |
143 } | 142 } |
144 | 143 |
145 } // namespace syncable | 144 } // namespace syncable |
146 } // namespace syncer | 145 } // namespace syncer |
OLD | NEW |