Index: chrome/common/chrome_version_info_chromeos.cc |
diff --git a/chrome/common/chrome_version_info_chromeos.cc b/chrome/common/chrome_version_info_chromeos.cc |
deleted file mode 100644 |
index 7b0b69511c8ba814832c39d51b0484216ee14df6..0000000000000000000000000000000000000000 |
--- a/chrome/common/chrome_version_info_chromeos.cc |
+++ /dev/null |
@@ -1,50 +0,0 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "chrome/common/chrome_version_info.h" |
- |
-namespace chrome { |
- |
-static version_info::Channel chromeos_channel = version_info::Channel::UNKNOWN; |
- |
-// static |
-std::string VersionInfo::GetVersionStringModifier() { |
-#if defined(GOOGLE_CHROME_BUILD) |
- switch (chromeos_channel) { |
- case version_info::Channel::STABLE: |
- return ""; |
- case version_info::Channel::BETA: |
- return "beta"; |
- case version_info::Channel::DEV: |
- return "dev"; |
- case version_info::Channel::CANARY: |
- return "canary"; |
- default: |
- return "unknown"; |
- } |
-#endif |
- return std::string(); |
-} |
- |
-// static |
-version_info::Channel VersionInfo::GetChannel() { |
- return chromeos_channel; |
-} |
- |
-// static |
-void VersionInfo::SetChannel(const std::string& channel) { |
-#if defined(GOOGLE_CHROME_BUILD) |
- if (channel == "stable-channel") { |
- chromeos_channel = version_info::Channel::STABLE; |
- } else if (channel == "beta-channel") { |
- chromeos_channel = version_info::Channel::BETA; |
- } else if (channel == "dev-channel") { |
- chromeos_channel = version_info::Channel::DEV; |
- } else if (channel == "canary-channel") { |
- chromeos_channel = version_info::Channel::CANARY; |
- } |
-#endif |
-} |
- |
-} // namespace chrome |