summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/core/ungoogled-chromium/disable-gaia.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/core/ungoogled-chromium/disable-gaia.patch')
-rw-r--r--www/chromium-uc/patches/core/ungoogled-chromium/disable-gaia.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/www/chromium-uc/patches/core/ungoogled-chromium/disable-gaia.patch b/www/chromium-uc/patches/core/ungoogled-chromium/disable-gaia.patch
index 5aa8290..bc27e5d 100644
--- a/www/chromium-uc/patches/core/ungoogled-chromium/disable-gaia.patch
+++ b/www/chromium-uc/patches/core/ungoogled-chromium/disable-gaia.patch
@@ -1,9 +1,9 @@
1# Disables Gaia code 1# Disables Gaia code
2# Somehow it is still activated even without being signed-in: https://github.com/Eloston/ungoogled-chromium/issues/104 2# Somehow it is still activated even without being signed-in: https://github.com/Eloston/ungoogled-chromium/issues/104
3 3
4--- a/google_apis/gaia/gaia_auth_fetcher.cc 4--- google_apis/gaia/gaia_auth_fetcher.cc.orig
5+++ b/google_apis/gaia/gaia_auth_fetcher.cc 5+++ google_apis/gaia/gaia_auth_fetcher.cc
6@@ -292,66 +292,6 @@ void GaiaAuthFetcher::CreateAndStartGaia 6@@ -293,65 +293,6 @@ void GaiaAuthFetcher::CreateAndStartGaia
7 network::mojom::CredentialsMode credentials_mode, 7 network::mojom::CredentialsMode credentials_mode,
8 const net::NetworkTrafficAnnotationTag& traffic_annotation) { 8 const net::NetworkTrafficAnnotationTag& traffic_annotation) {
9 DCHECK(!fetch_pending_) << "Tried to fetch two things at once!"; 9 DCHECK(!fetch_pending_) << "Tried to fetch two things at once!";
@@ -13,8 +13,7 @@
13- original_url_ = gaia_gurl; 13- original_url_ = gaia_gurl;
14- 14-
15- if (credentials_mode != network::mojom::CredentialsMode::kOmit) { 15- if (credentials_mode != network::mojom::CredentialsMode::kOmit) {
16- DCHECK_EQ(GaiaUrls::GetInstance()->gaia_url(), 16- DCHECK_EQ(GaiaUrls::GetInstance()->gaia_url(), gaia_gurl.GetOrigin())
17- gaia_gurl.DeprecatedGetOriginAsURL())
18- << gaia_gurl; 17- << gaia_gurl;
19- url::Origin origin = 18- url::Origin origin =
20- url::Origin::Create(GaiaUrls::GetInstance()->gaia_url()); 19- url::Origin::Create(GaiaUrls::GetInstance()->gaia_url());