Index: components/cryptauth/mock_eid_generator.h |
diff --git a/components/cryptauth/mock_eid_generator.h b/components/cryptauth/mock_eid_generator.h |
index 6317200b25082e80a0f857262f082da9608939ef..4f624a22fe8c02f76ea2ca84c4aa9ab1f32db902 100644 |
--- a/components/cryptauth/mock_eid_generator.h |
+++ b/components/cryptauth/mock_eid_generator.h |
@@ -60,11 +60,17 @@ class MockEidGenerator : public EidGenerator { |
const std::vector<BeaconSeed>& scanning_device_beacon_seeds) |
const override; |
+ int num_identify_calls() { |
+ return num_identify_calls_; |
+ } |
+ |
private: |
std::unique_ptr<EidData> background_scan_filter_; |
std::unique_ptr<DataWithTimestamp> advertisement_; |
std::unique_ptr<std::vector<std::string>> possible_advertisements_; |
const RemoteDevice* identified_device_; |
+ |
+ int num_identify_calls_; |
}; |
} // namespace cryptauth |