# Disables Gaia code # Somehow it is still activated even without being signed-in: https://github.com/Eloston/ungoogled-chromium/issues/104 --- a/chrome/browser/resources/component_extension_resources.grd +++ b/chrome/browser/resources/component_extension_resources.grd @@ -41,8 +41,6 @@ - - --- a/chrome/browser/extensions/signin/gaia_auth_extension_loader.cc +++ b/chrome/browser/extensions/signin/gaia_auth_extension_loader.cc @@ -43,18 +43,12 @@ void LoadGaiaAuthExtension(BrowserContext* context) { DCHECK_CURRENTLY_ON(BrowserThread::UI); - ComponentLoader* component_loader = GetComponentLoader(context); const base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); if (command_line->HasSwitch(::switches::kAuthExtensionPath)) { - base::FilePath auth_extension_path = - command_line->GetSwitchValuePath(::switches::kAuthExtensionPath); - component_loader->Add(IDR_GAIA_AUTH_MANIFEST, auth_extension_path); return; } - component_loader->Add(IDR_GAIA_AUTH_MANIFEST, - base::FilePath(FILE_PATH_LITERAL("gaia_auth"))); } void UnloadGaiaAuthExtension(BrowserContext* context) { --- a/chrome/browser/ui/webui/signin/inline_login_ui.cc +++ b/chrome/browser/ui/webui/signin/inline_login_ui.cc @@ -43,7 +43,6 @@ source->AddResourcePath("inline_login.css", IDR_INLINE_LOGIN_CSS); source->AddResourcePath("inline_login.js", IDR_INLINE_LOGIN_JS); - source->AddResourcePath("gaia_auth_host.js", IDR_GAIA_AUTH_AUTHENTICATOR_JS); source->AddLocalizedString("title", IDS_CHROME_SIGNIN_TITLE); source->AddLocalizedString( --- a/chrome/browser/browser_resources.grd +++ b/chrome/browser/browser_resources.grd @@ -302,7 +302,6 @@ - @@ -442,7 +441,6 @@ -