Index: components/password_manager/core/browser/fake_affiliation_fetcher.cc |
diff --git a/components/password_manager/core/browser/fake_affiliation_fetcher.cc b/components/password_manager/core/browser/fake_affiliation_fetcher.cc |
index 0f78e1f1abcc23817ec9f579c4f4a51fd07c0957..cb96fa73e9ff93e3dc037f00bb443a34b019b89b 100644 |
--- a/components/password_manager/core/browser/fake_affiliation_fetcher.cc |
+++ b/components/password_manager/core/browser/fake_affiliation_fetcher.cc |
@@ -39,13 +39,18 @@ password_manager::ScopedFakeAffiliationFetcherFactory:: |
AffiliationFetcher::SetFactoryForTesting(nullptr); |
} |
-FakeAffiliationFetcher* ScopedFakeAffiliationFetcherFactory::GetNextFetcher() { |
+FakeAffiliationFetcher* ScopedFakeAffiliationFetcherFactory::PopNextFetcher() { |
DCHECK(!pending_fetchers_.empty()); |
FakeAffiliationFetcher* first = pending_fetchers_.front(); |
pending_fetchers_.pop(); |
return first; |
} |
+FakeAffiliationFetcher* ScopedFakeAffiliationFetcherFactory::PeekNextFetcher() { |
+ DCHECK(!pending_fetchers_.empty()); |
+ return pending_fetchers_.front(); |
+} |
+ |
AffiliationFetcher* ScopedFakeAffiliationFetcherFactory::CreateInstance( |
net::URLRequestContextGetter* request_context_getter, |
const std::vector<FacetURI>& facet_ids, |