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

Unified Diff: chrome/browser/ui/webui/about_ui.cc

Issue 2453453002: Enable chrome://discards on Linux. (Closed)
Patch Set: Enable chrome://discards on Linux. Created 4 years, 2 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 | « no previous file | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/about_ui.cc
diff --git a/chrome/browser/ui/webui/about_ui.cc b/chrome/browser/ui/webui/about_ui.cc
index 9582c04603e2732dbe63744647f9d19c2b1fb577..1e8943c3be705973860f734c150886d27f0798e3 100644
--- a/chrome/browser/ui/webui/about_ui.cc
+++ b/chrome/browser/ui/webui/about_ui.cc
@@ -424,7 +424,7 @@ std::string ChromeURLs() {
return html;
}
-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
+#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
const char kAboutDiscardsRunCommand[] = "run";
@@ -582,7 +582,7 @@ std::string AboutDiscards(const std::string& path) {
return output;
}
-#endif // OS_WIN || OS_CHROMEOS
+#endif // OS_WIN || OS_MACOSX || OS_LINUX
// AboutDnsHandler bounces the request back to the IO thread to collect
// the DNS information.
@@ -780,7 +780,7 @@ void AboutUIHTMLSource::StartDataRequest(
} else {
response = raw_response.as_string();
}
-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
+#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
} else if (source_name_ == chrome::kChromeUIDiscardsHost) {
response = AboutDiscards(path);
#endif
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698