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

Side by Side Diff: components/sync_driver/sync_prefs_unittest.cc

Issue 1380693004: [Sync] Fixing sync_driver lint violations and adding PRESUBMIT lint check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cross
Patch Set: Removing lint fixes for revisit files, removing revisit patch dep. Created 5 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
« no previous file with comments | « components/sync_driver/sync_prefs.h ('k') | components/sync_driver/sync_stopped_reporter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map>
8
7 #include "base/command_line.h" 9 #include "base/command_line.h"
8 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
9 #include "base/prefs/pref_notifier_impl.h" 11 #include "base/prefs/pref_notifier_impl.h"
10 #include "base/prefs/pref_value_store.h" 12 #include "base/prefs/pref_value_store.h"
11 #include "base/prefs/testing_pref_service.h" 13 #include "base/prefs/testing_pref_service.h"
12 #include "base/time/time.h" 14 #include "base/time/time.h"
13 #include "components/pref_registry/testing_pref_service_syncable.h" 15 #include "components/pref_registry/testing_pref_service_syncable.h"
14 #include "components/sync_driver/pref_names.h" 16 #include "components/sync_driver/pref_names.h"
15 #include "sync/internal_api/public/base/model_type.h" 17 #include "sync/internal_api/public/base/model_type.h"
16 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 254
253 EXPECT_EQ(versions.size(), versions2.size()); 255 EXPECT_EQ(versions.size(), versions2.size());
254 for (auto map_iter : versions2) { 256 for (auto map_iter : versions2) {
255 EXPECT_EQ(versions[map_iter.first], map_iter.second); 257 EXPECT_EQ(versions[map_iter.first], map_iter.second);
256 } 258 }
257 } 259 }
258 260
259 } // namespace 261 } // namespace
260 262
261 } // namespace sync_driver 263 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/sync_prefs.h ('k') | components/sync_driver/sync_stopped_reporter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698