| OLD | NEW |
| 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 "sync/syncable/write_transaction.h" | 5 #include "sync/syncable/write_transaction.h" |
| 6 | 6 |
| 7 #include "sync/syncable/directory.h" | 7 #include "sync/syncable/directory.h" |
| 8 #include "sync/syncable/directory_change_delegate.h" | 8 #include "sync/syncable/directory_change_delegate.h" |
| 9 #include "sync/syncable/transaction_observer.h" | 9 #include "sync/syncable/transaction_observer.h" |
| 10 #include "sync/syncable/write_transaction_info.h" | 10 #include "sync/syncable/write_transaction_info.h" |
| 11 | 11 |
| 12 namespace syncer { |
| 12 namespace syncable { | 13 namespace syncable { |
| 13 | 14 |
| 14 enum InvariantCheckLevel { | 15 enum InvariantCheckLevel { |
| 15 OFF = 0, | 16 OFF = 0, |
| 16 VERIFY_IN_MEMORY = 1, | 17 VERIFY_IN_MEMORY = 1, |
| 17 FULL_DB_VERIFICATION = 2 | 18 FULL_DB_VERIFICATION = 2 |
| 18 }; | 19 }; |
| 19 | 20 |
| 20 const InvariantCheckLevel kInvariantCheckLevel = VERIFY_IN_MEMORY; | 21 const InvariantCheckLevel kInvariantCheckLevel = VERIFY_IN_MEMORY; |
| 21 | 22 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 ENUM_CASE(PURGE_ENTRIES); | 150 ENUM_CASE(PURGE_ENTRIES); |
| 150 ENUM_CASE(SYNCAPI); | 151 ENUM_CASE(SYNCAPI); |
| 151 }; | 152 }; |
| 152 NOTREACHED(); | 153 NOTREACHED(); |
| 153 return ""; | 154 return ""; |
| 154 } | 155 } |
| 155 | 156 |
| 156 #undef ENUM_CASE | 157 #undef ENUM_CASE |
| 157 | 158 |
| 158 } // namespace syncable | 159 } // namespace syncable |
| 160 } // namespace syncer |
| OLD | NEW |