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

Unified Diff: chrome/browser/ui/libgtk2ui/gtk2_util.cc

Issue 2193393002: Revert of Linux: Support the --class argument (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: chrome/browser/ui/libgtk2ui/gtk2_util.cc
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_util.cc b/chrome/browser/ui/libgtk2ui/gtk2_util.cc
index 551012d7f870acb428b2f004269ff5ae67fbdd05..6aceaf3e6180557664e93f63db715b2f34b6d1d2 100644
--- a/chrome/browser/ui/libgtk2ui/gtk2_util.cc
+++ b/chrome/browser/ui/libgtk2ui/gtk2_util.cc
@@ -61,15 +61,7 @@
// from browser and above.
std::string GetDesktopName(base::Environment* env) {
#if defined(GOOGLE_CHROME_BUILD)
- version_info::Channel product_channel(chrome::GetChannel());
Lei Zhang 2016/07/29 20:37:23 IWYU @_@
- switch (product_channel) {
- case version_info::Channel::DEV:
- return "google-chrome-unstable.desktop";
- case version_info::Channel::BETA:
- return "google-chrome-beta.desktop";
- default:
- return "google-chrome.desktop";
- }
+ return "google-chrome.desktop";
#else // CHROMIUM_BUILD
// Allow $CHROME_DESKTOP to override the built-in value, so that development
// versions can set themselves as the default without interfering with

Powered by Google App Engine
This is Rietveld 408576698