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

Unified Diff: chrome/browser/shell_integration_linux.cc

Issue 1257633002: Componentize VersionInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix OWNERS (copy from //chrome/OWNERS) 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
Index: chrome/browser/shell_integration_linux.cc
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc
index 4e1c305b76fed7b747c47923deb03cf26159f2dd..2caa035e9935dbcc7f399999631af00f1709b11f 100644
--- a/chrome/browser/shell_integration_linux.cc
+++ b/chrome/browser/shell_integration_linux.cc
@@ -586,12 +586,12 @@ std::string GetProgramClassName() {
std::string GetDesktopName(base::Environment* env) {
#if defined(GOOGLE_CHROME_BUILD)
- chrome::VersionInfo::Channel product_channel(
+ version_info::Channel product_channel(
chrome::VersionInfo::GetChannel());
switch (product_channel) {
- case chrome::VersionInfo::CHANNEL_DEV:
+ case version_info::CHANNEL_DEV:
return "google-chrome-unstable.desktop";
- case chrome::VersionInfo::CHANNEL_BETA:
+ case version_info::CHANNEL_BETA:
return "google-chrome-beta.desktop";
default:
return "google-chrome.desktop";

Powered by Google App Engine
This is Rietveld 408576698