Searched refs:hid_context (Results 1 – 2 of 2) sorted by relevance
1449 auto* hid_context = HidChooserContextFactory::GetForProfile(profile); in ObserveSourcesForProfile() local1450 if (!chooser_observer_.IsObserving(hid_context)) in ObserveSourcesForProfile()1451 chooser_observer_.Add(hid_context); in ObserveSourcesForProfile()1477 auto* hid_context = HidChooserContextFactory::GetForProfile(profile); in StopObservingSourcesForProfile() local1478 if (chooser_observer_.IsObserving(hid_context)) in StopObservingSourcesForProfile()1479 chooser_observer_.Remove(hid_context); in StopObservingSourcesForProfile()
1505 auto* hid_context = HidChooserContextFactory::GetForProfile(profile); in ObserveSourcesForProfile() local1506 if (!chooser_observer_.IsObserving(hid_context)) in ObserveSourcesForProfile()1507 chooser_observer_.Add(hid_context); in ObserveSourcesForProfile()1533 auto* hid_context = HidChooserContextFactory::GetForProfile(profile); in StopObservingSourcesForProfile() local1534 if (chooser_observer_.IsObserving(hid_context)) in StopObservingSourcesForProfile()1535 chooser_observer_.Remove(hid_context); in StopObservingSourcesForProfile()