summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/ui/webui/about_ui.cc6
-rw-r--r--chromeos/chromeos_switches.cc3
-rw-r--r--chromeos/chromeos_switches.h1
3 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/ui/webui/about_ui.cc b/chrome/browser/ui/webui/about_ui.cc
index f97f9f6..41c4b1e 100644
--- a/chrome/browser/ui/webui/about_ui.cc
+++ b/chrome/browser/ui/webui/about_ui.cc
@@ -248,12 +248,6 @@ class ChromeOSTermsHandler
BrowserThread::PostTask(
BrowserThread::FILE, FROM_HERE,
base::Bind(&ChromeOSTermsHandler::LoadOemEulaFileOnFileThread, this));
- } else if (CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kDisableOnlineEULA)) {
- // Fallback to the local file.
- BrowserThread::PostTask(
- BrowserThread::FILE, FROM_HERE,
- base::Bind(&ChromeOSTermsHandler::LoadEulaFileOnFileThread, this));
} else {
// Try to load online version of ChromeOS terms first.
// ChromeOSOnlineTermsHandler object destroys itself.
diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc
index 386c034..7ed08c0 100644
--- a/chromeos/chromeos_switches.cc
+++ b/chromeos/chromeos_switches.cc
@@ -67,9 +67,6 @@ const char kDisableVolumeAdjustSound[] = "disable-volume-adjust-sound";
const char kDisableNetworkPortalNotification[] =
"disable-network-portal-notification";
-// Disables fetching online CrOS EULA page, only static version is shown.
-const char kDisableOnlineEULA[] = "disable-cros-online-eula";
-
// Avoid doing animations upon oobe.
const char kDisableOobeAnimation[] = "disable-oobe-animation";
diff --git a/chromeos/chromeos_switches.h b/chromeos/chromeos_switches.h
index 22aea33..7c1f488 100644
--- a/chromeos/chromeos_switches.h
+++ b/chromeos/chromeos_switches.h
@@ -37,7 +37,6 @@ CHROMEOS_EXPORT extern const char kDisableNetworkPortalNotification[];
CHROMEOS_EXPORT extern const char kDisableNewChannelSwitcherUI[];
CHROMEOS_EXPORT extern const char kDisableNewKioskUI[];
CHROMEOS_EXPORT extern const char kDisableOOBEBlockingUpdate[];
-CHROMEOS_EXPORT extern const char kDisableOnlineEULA[];
CHROMEOS_EXPORT extern const char kDisableOobeAnimation[];
CHROMEOS_EXPORT extern const char kDisableQuickofficeComponentApp[];
CHROMEOS_EXPORT extern const char kDisableVolumeAdjustSound[];