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/driver/sync_prefs.h" | 5 #include "components/sync/driver/sync_prefs.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 } | 146 } |
147 if (it.Get() == syncer::PREFERENCES) { | 147 if (it.Get() == syncer::PREFERENCES) { |
148 expected_preferred_types.Put(syncer::DICTIONARY); | 148 expected_preferred_types.Put(syncer::DICTIONARY); |
149 expected_preferred_types.Put(syncer::PRIORITY_PREFERENCES); | 149 expected_preferred_types.Put(syncer::PRIORITY_PREFERENCES); |
150 expected_preferred_types.Put(syncer::SEARCH_ENGINES); | 150 expected_preferred_types.Put(syncer::SEARCH_ENGINES); |
151 } | 151 } |
152 if (it.Get() == syncer::APPS) { | 152 if (it.Get() == syncer::APPS) { |
153 expected_preferred_types.Put(syncer::APP_LIST); | 153 expected_preferred_types.Put(syncer::APP_LIST); |
154 expected_preferred_types.Put(syncer::APP_NOTIFICATIONS); | 154 expected_preferred_types.Put(syncer::APP_NOTIFICATIONS); |
155 expected_preferred_types.Put(syncer::APP_SETTINGS); | 155 expected_preferred_types.Put(syncer::APP_SETTINGS); |
| 156 expected_preferred_types.Put(syncer::ARC_PACKAGE); |
156 } | 157 } |
157 if (it.Get() == syncer::EXTENSIONS) { | 158 if (it.Get() == syncer::EXTENSIONS) { |
158 expected_preferred_types.Put(syncer::EXTENSION_SETTINGS); | 159 expected_preferred_types.Put(syncer::EXTENSION_SETTINGS); |
159 } | 160 } |
160 if (it.Get() == syncer::TYPED_URLS) { | 161 if (it.Get() == syncer::TYPED_URLS) { |
161 expected_preferred_types.Put(syncer::HISTORY_DELETE_DIRECTIVES); | 162 expected_preferred_types.Put(syncer::HISTORY_DELETE_DIRECTIVES); |
162 expected_preferred_types.Put(syncer::SESSIONS); | 163 expected_preferred_types.Put(syncer::SESSIONS); |
163 expected_preferred_types.Put(syncer::FAVICON_IMAGES); | 164 expected_preferred_types.Put(syncer::FAVICON_IMAGES); |
164 expected_preferred_types.Put(syncer::FAVICON_TRACKING); | 165 expected_preferred_types.Put(syncer::FAVICON_TRACKING); |
165 } | 166 } |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 | 254 |
254 EXPECT_EQ(versions.size(), versions2.size()); | 255 EXPECT_EQ(versions.size(), versions2.size()); |
255 for (auto map_iter : versions2) { | 256 for (auto map_iter : versions2) { |
256 EXPECT_EQ(versions[map_iter.first], map_iter.second); | 257 EXPECT_EQ(versions[map_iter.first], map_iter.second); |
257 } | 258 } |
258 } | 259 } |
259 | 260 |
260 } // namespace | 261 } // namespace |
261 | 262 |
262 } // namespace sync_driver | 263 } // namespace sync_driver |
OLD | NEW |