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