Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: components/password_manager/core/browser/fake_affiliation_api.h

Issue 1008373003: Integrate throttling logic into AffiliationBackend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/password_manager/core/browser/fake_affiliation_api.h
diff --git a/components/password_manager/core/browser/fake_affiliation_api.h b/components/password_manager/core/browser/fake_affiliation_api.h
index f24c4a381144f2ed04c956846199520b2aade54d..98d4b2e9521c23e9d033e4a099330750a257e615 100644
--- a/components/password_manager/core/browser/fake_affiliation_api.h
+++ b/components/password_manager/core/browser/fake_affiliation_api.h
@@ -35,6 +35,9 @@ class ScopedFakeAffiliationAPI {
// with success.
void ServeNextRequest();
+ // Completes the next pending fetch, if any, with failure.
+ void FailNextRequest();
+
// Ignores the next pending request, if any, without completing it.
void IgnoreNextRequest();

Powered by Google App Engine
This is Rietveld 408576698