Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: components/sync/driver/sync_prefs_unittest.cc

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Update for Max's comments. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
8
9 #include <map>
10
11 #include "base/command_line.h" 7 #include "base/command_line.h"
12 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
13 #include "base/time/time.h"
14 #include "components/pref_registry/testing_pref_service_syncable.h" 9 #include "components/pref_registry/testing_pref_service_syncable.h"
15 #include "components/prefs/pref_notifier_impl.h" 10 #include "components/prefs/pref_notifier_impl.h"
16 #include "components/prefs/pref_value_store.h" 11 #include "components/prefs/pref_value_store.h"
17 #include "components/prefs/testing_pref_service.h" 12 #include "components/prefs/testing_pref_service.h"
18 #include "components/sync/base/model_type.h"
19 #include "components/sync/driver/pref_names.h" 13 #include "components/sync/driver/pref_names.h"
20 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
21 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
22 16
23 namespace syncer { 17 namespace syncer {
24 18
25 namespace { 19 namespace {
26 20
27 using ::testing::InSequence; 21 using ::testing::InSequence;
28 using ::testing::StrictMock; 22 using ::testing::StrictMock;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 245
252 EXPECT_EQ(versions.size(), versions2.size()); 246 EXPECT_EQ(versions.size(), versions2.size());
253 for (auto map_iter : versions2) { 247 for (auto map_iter : versions2) {
254 EXPECT_EQ(versions[map_iter.first], map_iter.second); 248 EXPECT_EQ(versions[map_iter.first], map_iter.second);
255 } 249 }
256 } 250 }
257 251
258 } // namespace 252 } // namespace
259 253
260 } // namespace syncer 254 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/driver/startup_controller_unittest.cc ('k') | components/sync/driver/sync_stopped_reporter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698