From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 19 Nov 2020 07:59:29 -0500 Subject: [PATCH] disable GaiaAuthFetcher code due to upstream bug https://bugs.chromium.org/p/chromium/issues/detail?id=1150817 --- google_apis/gaia/gaia_auth_fetcher.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/google_apis/gaia/gaia_auth_fetcher.cc b/google_apis/gaia/gaia_auth_fetcher.cc index 7d789c40d3847..aeff2607a3990 100644 --- a/google_apis/gaia/gaia_auth_fetcher.cc +++ b/google_apis/gaia/gaia_auth_fetcher.cc @@ -41,7 +41,9 @@ namespace { +#if 0 const size_t kMaxMessageSize = 1024 * 1024; // 1MB +#endif constexpr char kBadAuthenticationError[] = "BadAuthentication"; constexpr char kBadAuthenticationShortError[] = "badauth"; @@ -272,6 +274,7 @@ void GaiaAuthFetcher::CreateAndStartGaiaFetcher( const net::NetworkTrafficAnnotationTag& traffic_annotation) { DCHECK(!fetch_pending_) << "Tried to fetch two things at once!"; +#if 0 auto resource_request = std::make_unique(); resource_request->url = gaia_gurl; original_url_ = gaia_gurl; @@ -326,6 +329,7 @@ void GaiaAuthFetcher::CreateAndStartGaiaFetcher( base::BindOnce(&GaiaAuthFetcher::OnURLLoadComplete, base::Unretained(this)), kMaxMessageSize); +#endif } // static