Index: chrome/common/chrome_switches.cc |
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
index eb8754e523f03a167d77e5a4a9ba5b954ef60382..9d5aadbadbd5c1097c35e8f2b4b939b34c005b20 100644 |
--- a/chrome/common/chrome_switches.cc |
+++ b/chrome/common/chrome_switches.cc |
@@ -278,10 +278,6 @@ const char kDisableMinimizeOnSecondLauncherItemClick[] = |
// Disables the new bookmark app system. |
const char kDisableNewBookmarkApps[] = "disable-new-bookmark-apps"; |
-// Disables the new offline error page generated by NetErrorHelper for ChromeOS |
-// and instead uses the old error page generated by OfflineResourceThrottle. |
-const char kDisableNewOfflineErrorPage[] = "disable-new-offline-error-page"; |
- |
// Disable auto-reload of error pages if offline. |
const char kDisableOfflineAutoReload[] = "disable-offline-auto-reload"; |
@@ -1358,13 +1354,6 @@ bool MediaRouterEnabled() { |
::switches::kEnableMediaRouter); |
} |
-// Will return true as a default value if the "disable-new-offline-error-page" |
-// command-line switch is not available. |
-bool NewOfflineErrorPageEnabled() { |
- return !base::CommandLine::ForCurrentProcess()->HasSwitch( |
- ::switches::kDisableNewOfflineErrorPage); |
-} |
- |
bool PdfMaterialUIEnabled() { |
if (base::CommandLine::ForCurrentProcess()->HasSwitch(kEnablePdfMaterialUI)) |
return true; |