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

Unified Diff: ios/chrome/browser/signin/gaia_auth_fetcher_ios.mm

Issue 2872253002: Network traffic annotation added to gaia_auth_fetcher. (Closed)
Patch Set: Comments addressed. Created 3 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
« no previous file with comments | « ios/chrome/browser/signin/gaia_auth_fetcher_ios.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/signin/gaia_auth_fetcher_ios.mm
diff --git a/ios/chrome/browser/signin/gaia_auth_fetcher_ios.mm b/ios/chrome/browser/signin/gaia_auth_fetcher_ios.mm
index 435743988eb94dc33bb71cf784c1e6879059ef53..4eb5741beb46ae0bcc56569e612531ecf03678f1 100644
--- a/ios/chrome/browser/signin/gaia_auth_fetcher_ios.mm
+++ b/ios/chrome/browser/signin/gaia_auth_fetcher_ios.mm
@@ -329,17 +329,19 @@ GaiaAuthFetcherIOS::GaiaAuthFetcherIOS(GaiaAuthConsumer* consumer,
GaiaAuthFetcherIOS::~GaiaAuthFetcherIOS() {
}
-void GaiaAuthFetcherIOS::CreateAndStartGaiaFetcher(const std::string& body,
- const std::string& headers,
- const GURL& gaia_gurl,
- int load_flags) {
+void GaiaAuthFetcherIOS::CreateAndStartGaiaFetcher(
+ const std::string& body,
+ const std::string& headers,
+ const GURL& gaia_gurl,
+ int load_flags,
+ const net::NetworkTrafficAnnotationTag& traffic_annotation) {
DCHECK(!HasPendingFetch()) << "Tried to fetch two things at once!";
bool cookies_required = !(load_flags & (net::LOAD_DO_NOT_SEND_COOKIES |
net::LOAD_DO_NOT_SAVE_COOKIES));
if (!ShouldUseGaiaAuthFetcherIOS() || !cookies_required) {
GaiaAuthFetcher::CreateAndStartGaiaFetcher(body, headers, gaia_gurl,
- load_flags);
+ load_flags, traffic_annotation);
return;
}
« no previous file with comments | « ios/chrome/browser/signin/gaia_auth_fetcher_ios.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698