| 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 "components/sync/engine/cycle/sync_cycle_snapshot.h" | 5 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" |
| 6 | 6 |
| 7 #include <memory> |
| 8 |
| 7 #include "base/test/values_test_util.h" | 9 #include "base/test/values_test_util.h" |
| 8 #include "base/values.h" | 10 #include "base/values.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 12 |
| 11 namespace syncer { | 13 namespace syncer { |
| 12 namespace { | 14 namespace { |
| 13 | 15 |
| 14 using base::ExpectDictBooleanValue; | 16 using base::ExpectDictBooleanValue; |
| 15 using base::ExpectDictDictionaryValue; | 17 using base::ExpectDictDictionaryValue; |
| 16 using base::ExpectDictIntegerValue; | 18 using base::ExpectDictIntegerValue; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 ExpectDictIntegerValue(kNumEncryptionConflicts, *value, | 72 ExpectDictIntegerValue(kNumEncryptionConflicts, *value, |
| 71 "numEncryptionConflicts"); | 73 "numEncryptionConflicts"); |
| 72 ExpectDictIntegerValue(kNumHierarchyConflicts, *value, | 74 ExpectDictIntegerValue(kNumHierarchyConflicts, *value, |
| 73 "numHierarchyConflicts"); | 75 "numHierarchyConflicts"); |
| 74 ExpectDictIntegerValue(kNumServerConflicts, *value, "numServerConflicts"); | 76 ExpectDictIntegerValue(kNumServerConflicts, *value, "numServerConflicts"); |
| 75 ExpectDictBooleanValue(false, *value, "notificationsEnabled"); | 77 ExpectDictBooleanValue(false, *value, "notificationsEnabled"); |
| 76 } | 78 } |
| 77 | 79 |
| 78 } // namespace | 80 } // namespace |
| 79 } // namespace syncer | 81 } // namespace syncer |
| OLD | NEW |