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, 5 insertions, 4 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 bc27e5d..5aa8290 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--- google_apis/gaia/gaia_auth_fetcher.cc.orig 4--- a/google_apis/gaia/gaia_auth_fetcher.cc
5+++ google_apis/gaia/gaia_auth_fetcher.cc 5+++ b/google_apis/gaia/gaia_auth_fetcher.cc
6@@ -293,65 +293,6 @@ void GaiaAuthFetcher::CreateAndStartGaia 6@@ -292,66 +292,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,7 +13,8 @@
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(), gaia_gurl.GetOrigin()) 16- DCHECK_EQ(GaiaUrls::GetInstance()->gaia_url(),
17- gaia_gurl.DeprecatedGetOriginAsURL())
17- << gaia_gurl; 18- << gaia_gurl;
18- url::Origin origin = 19- url::Origin origin =
19- url::Origin::Create(GaiaUrls::GetInstance()->gaia_url()); 20- url::Origin::Create(GaiaUrls::GetInstance()->gaia_url());