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

Unified Diff: services/authenticating_url_loader/authenticating_url_loader_factory_impl.cc

Issue 1161603003: Have the authenticating_url_loader cache token per-origin. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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: services/authenticating_url_loader/authenticating_url_loader_factory_impl.cc
diff --git a/services/authenticating_url_loader/authenticating_url_loader_factory_impl.cc b/services/authenticating_url_loader/authenticating_url_loader_factory_impl.cc
index f3e2bbf53422e8d6d47f8ec3540f2c6a495c148d..5a3e66d9c3bb81ec3a0a3fde166875d0502d6120 100644
--- a/services/authenticating_url_loader/authenticating_url_loader_factory_impl.cc
+++ b/services/authenticating_url_loader/authenticating_url_loader_factory_impl.cc
@@ -40,6 +40,7 @@ void AuthenticatingURLLoaderFactoryImpl::CreateAuthenticatingURLLoader(
new AuthenticatingURLLoaderImpl(
loader_request.Pass(), authentication_service_.get(),
network_service_.get(),
+ &cached_tokens_,
base::Bind(&AuthenticatingURLLoaderFactoryImpl::DeleteURLLoader,
base::Unretained(this)))));
}

Powered by Google App Engine
This is Rietveld 408576698