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 702edab659d2a..f3428680fa797 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"; @@ -260,6 +262,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; @@ -314,6 +317,7 @@ void GaiaAuthFetcher::CreateAndStartGaiaFetcher( base::BindOnce(&GaiaAuthFetcher::OnURLLoadComplete, base::Unretained(this)), kMaxMessageSize); +#endif } // static