| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/dbus/biod_biometrics_manager_client.h" | 5 #include "chromeos/dbus/biod_biometrics_manager_client.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 EmitAuthScanDoneSignal(scan_signal, test_attempt); | 319 EmitAuthScanDoneSignal(scan_signal, test_attempt); |
| 320 EXPECT_EQ(2, observer1.num_auth_scan_received()); | 320 EXPECT_EQ(2, observer1.num_auth_scan_received()); |
| 321 EXPECT_EQ(1, observer2.num_auth_scan_received()); | 321 EXPECT_EQ(1, observer2.num_auth_scan_received()); |
| 322 | 322 |
| 323 client_->RemoveObserver(&observer1); | 323 client_->RemoveObserver(&observer1); |
| 324 EmitAuthScanDoneSignal(scan_signal, test_attempt); | 324 EmitAuthScanDoneSignal(scan_signal, test_attempt); |
| 325 EXPECT_EQ(2, observer1.num_auth_scan_received()); | 325 EXPECT_EQ(2, observer1.num_auth_scan_received()); |
| 326 EXPECT_EQ(2, observer2.num_auth_scan_received()); | 326 EXPECT_EQ(2, observer2.num_auth_scan_received()); |
| 327 } | 327 } |
| 328 } // namespace chromeos | 328 } // namespace chromeos |
| OLD | NEW |