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

Unified Diff: components/password_manager/core/browser/affiliation_service.cc

Issue 1006813008: Introduce StrategyOnCacheMiss enum instead of |cached_only| boolean. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@aff_integ_final
Patch Set: 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/affiliation_service.cc
diff --git a/components/password_manager/core/browser/affiliation_service.cc b/components/password_manager/core/browser/affiliation_service.cc
index 58a9c4146c2e1eb57de584c049e5c73d64efada8..0bcade91e409d79a7811a31e1eaa09278f6b3cd2 100644
--- a/components/password_manager/core/browser/affiliation_service.cc
+++ b/components/password_manager/core/browser/affiliation_service.cc
@@ -50,14 +50,14 @@ void AffiliationService::Initialize(
void AffiliationService::GetAffiliations(
const FacetURI& facet_uri,
- bool cached_only,
+ StrategyOnCacheMiss cache_miss_strategy,
const ResultCallback& result_callback) {
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(backend_);
backend_task_runner_->PostTask(
FROM_HERE,
base::Bind(&AffiliationBackend::GetAffiliations,
- base::Unretained(backend_), facet_uri, cached_only,
+ base::Unretained(backend_), facet_uri, cache_miss_strategy,
result_callback, base::ThreadTaskRunnerHandle::Get()));
}

Powered by Google App Engine
This is Rietveld 408576698