Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: chrome/common/chrome_switches.cc

Issue 1237353002: Remove Old ChromeOS Offline Error Page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698