| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_COMMON_CHANNEL_INFO_H_ | 5 #ifndef CHROME_COMMON_CHANNEL_INFO_H_ |
| 6 #define CHROME_COMMON_CHANNEL_INFO_H_ | 6 #define CHROME_COMMON_CHANNEL_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "build/build_config.h" |
| 11 |
| 10 namespace version_info { | 12 namespace version_info { |
| 11 enum class Channel; | 13 enum class Channel; |
| 12 } | 14 } |
| 13 | 15 |
| 14 namespace chrome { | 16 namespace chrome { |
| 15 | 17 |
| 16 // Returns a version string to be displayed in "About Chromium" dialog. | 18 // Returns a version string to be displayed in "About Chromium" dialog. |
| 17 std::string GetVersionString(); | 19 std::string GetVersionString(); |
| 18 | 20 |
| 19 // Returns a human-readable modifier for the version string. For a branded | 21 // Returns a human-readable modifier for the version string. For a branded |
| (...skipping 15 matching lines...) Expand all Loading... |
| 35 version_info::Channel GetChannel(); | 37 version_info::Channel GetChannel(); |
| 36 | 38 |
| 37 #if defined(OS_CHROMEOS) | 39 #if defined(OS_CHROMEOS) |
| 38 // Sets channel before use. | 40 // Sets channel before use. |
| 39 void SetChannel(const std::string& channel); | 41 void SetChannel(const std::string& channel); |
| 40 #endif | 42 #endif |
| 41 | 43 |
| 42 } // namespace chrome | 44 } // namespace chrome |
| 43 | 45 |
| 44 #endif // CHROME_COMMON_CHANNEL_INFO_H_ | 46 #endif // CHROME_COMMON_CHANNEL_INFO_H_ |
| OLD | NEW |