OLD | NEW |
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 "chromeos/components/tether/local_device_data_provider.h" | 5 #include "chromeos/components/tether/local_device_data_provider.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/memory/ptr_util.h" |
11 #include "components/cryptauth/cryptauth_device_manager.h" | 12 #include "components/cryptauth/cryptauth_device_manager.h" |
12 #include "components/cryptauth/cryptauth_enrollment_manager.h" | 13 #include "components/cryptauth/cryptauth_enrollment_manager.h" |
13 #include "components/cryptauth/proto/cryptauth_api.pb.h" | 14 #include "components/cryptauth/proto/cryptauth_api.pb.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
16 | 17 |
17 using testing::NiceMock; | 18 using testing::NiceMock; |
18 using testing::Return; | 19 using testing::Return; |
19 | 20 |
20 namespace chromeos { | 21 namespace chromeos { |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 cryptauth::BeaconSeed actual = beacon_seeds[i]; | 196 cryptauth::BeaconSeed actual = beacon_seeds[i]; |
196 EXPECT_EQ(expected.data(), actual.data()); | 197 EXPECT_EQ(expected.data(), actual.data()); |
197 EXPECT_EQ(expected.start_time_millis(), actual.start_time_millis()); | 198 EXPECT_EQ(expected.start_time_millis(), actual.start_time_millis()); |
198 EXPECT_EQ(expected.end_time_millis(), actual.end_time_millis()); | 199 EXPECT_EQ(expected.end_time_millis(), actual.end_time_millis()); |
199 } | 200 } |
200 } | 201 } |
201 | 202 |
202 } // namespace tether | 203 } // namespace tether |
203 | 204 |
204 } // namespace chromeos | 205 } // namespace chromeos |
OLD | NEW |