| 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 EmitAuthScanDoneSignal(scan_signal, test_attempt); | 317 EmitAuthScanDoneSignal(scan_signal, test_attempt); |
| 318 EXPECT_EQ(2, observer1.num_attempt_received()); | 318 EXPECT_EQ(2, observer1.num_attempt_received()); |
| 319 EXPECT_EQ(1, observer2.num_attempt_received()); | 319 EXPECT_EQ(1, observer2.num_attempt_received()); |
| 320 | 320 |
| 321 client_->RemoveObserver(&observer1); | 321 client_->RemoveObserver(&observer1); |
| 322 EmitAuthScanDoneSignal(scan_signal, test_attempt); | 322 EmitAuthScanDoneSignal(scan_signal, test_attempt); |
| 323 EXPECT_EQ(2, observer1.num_attempt_received()); | 323 EXPECT_EQ(2, observer1.num_attempt_received()); |
| 324 EXPECT_EQ(2, observer2.num_attempt_received()); | 324 EXPECT_EQ(2, observer2.num_attempt_received()); |
| 325 } | 325 } |
| 326 } // namespace chromeos | 326 } // namespace chromeos |
| OLD | NEW |