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

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

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/device_count_metrics_provider.h" 5 #include "components/sync/driver/device_count_metrics_provider.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/test/histogram_tester.h" 12 #include "base/test/histogram_tester.h"
13 #include "components/sync_driver/device_info.h" 13 #include "components/sync/driver/device_info.h"
14 #include "components/sync_driver/device_info_tracker.h" 14 #include "components/sync/driver/device_info_tracker.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace sync_driver { 17 namespace sync_driver {
18 18
19 namespace { 19 namespace {
20 20
21 class FakeTracker : public DeviceInfoTracker { 21 class FakeTracker : public DeviceInfoTracker {
22 public: 22 public:
23 explicit FakeTracker(const int count) : count_(count) {} 23 explicit FakeTracker(const int count) : count_(count) {}
24 24
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 TEST_F(DeviceCountMetricsProviderTest, VeryLarge) { 97 TEST_F(DeviceCountMetricsProviderTest, VeryLarge) {
98 AddTracker(123456789); 98 AddTracker(123456789);
99 TestProvider(100); 99 TestProvider(100);
100 } 100 }
101 101
102 } // namespace 102 } // namespace
103 103
104 } // namespace sync_driver 104 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync/driver/device_count_metrics_provider.cc ('k') | components/sync/driver/device_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698