Skip to content

Commit

Permalink
ungoogled-chromium: Disable Gaia
Browse files Browse the repository at this point in the history
Disables Gaia code.
Somehow it is still being activated even without being signed-in.

See also: ungoogled-software/ungoogled-chromium#104

License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
Change-Id: I66d649c751962b5d8d7c495105cb202545ca3916
  • Loading branch information
csagan5 authored and chirayudesai committed Apr 2, 2024
1 parent f214c25 commit 87ecdb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion google_apis/gaia/gaia_auth_fetcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

namespace {

const size_t kMaxMessageSize = 1024 * 1024; // 1MB
//const size_t kMaxMessageSize = 1024 * 1024; // 1MB

constexpr char kBadAuthenticationError[] = "BadAuthentication";
constexpr char kBadAuthenticationShortError[] = "badauth";
Expand Down Expand Up @@ -264,6 +264,7 @@ void GaiaAuthFetcher::CreateAndStartGaiaFetcher(
const net::NetworkTrafficAnnotationTag& traffic_annotation) {
DCHECK(!fetch_pending_) << "Tried to fetch two things at once!";

/*
auto resource_request = std::make_unique<network::ResourceRequest>();
resource_request->url = gaia_gurl;
original_url_ = gaia_gurl;
Expand Down Expand Up @@ -318,6 +319,7 @@ void GaiaAuthFetcher::CreateAndStartGaiaFetcher(
base::BindOnce(&GaiaAuthFetcher::OnURLLoadComplete,
base::Unretained(this)),
kMaxMessageSize);
*/
}

// static
Expand Down

0 comments on commit 87ecdb2

Please sign in to comment.