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

Side by Side Diff: components/version_info/version_info.h

Issue 2879703002: WebView: Add channel info for UMA (Closed)
Patch Set: rebase Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « components/version_info/channel_android.cc ('k') | components/version_info/version_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_VERSION_INFO_VERSION_INFO_H_ 5 #ifndef COMPONENTS_VERSION_INFO_VERSION_INFO_H_
6 #define COMPONENTS_VERSION_INFO_VERSION_INFO_H_ 6 #define COMPONENTS_VERSION_INFO_VERSION_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/version_info/channel.h" 10 #include "components/version_info/channel.h"
(...skipping 18 matching lines...) Expand all
29 // GetLastChange() is. 29 // GetLastChange() is.
30 bool IsOfficialBuild(); 30 bool IsOfficialBuild();
31 31
32 // Returns the OS type, e.g. "Windows", "Linux", "FreeBDS", ... 32 // Returns the OS type, e.g. "Windows", "Linux", "FreeBDS", ...
33 std::string GetOSType(); 33 std::string GetOSType();
34 34
35 // Returns a string equivalent of |channel|, indenpendent of whether the build 35 // Returns a string equivalent of |channel|, indenpendent of whether the build
36 // is branded or not and without any additional modifiers. 36 // is branded or not and without any additional modifiers.
37 std::string GetChannelString(Channel channel); 37 std::string GetChannelString(Channel channel);
38 38
39 // Returns a version string to be displayed in "About Chromium" dialog.
40 // |modifier| is a string representation of the channel with system specific
41 // information, e.g. "dev SyzyASan". It is appended to the returned version
42 // information if non-empty.
43 std::string GetVersionStringWithModifier(const std::string& modifier);
44
45 } // namespace version_info 39 } // namespace version_info
46 40
47 #endif // COMPONENTS_VERSION_INFO_VERSION_INFO_H_ 41 #endif // COMPONENTS_VERSION_INFO_VERSION_INFO_H_
OLDNEW
« no previous file with comments | « components/version_info/channel_android.cc ('k') | components/version_info/version_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698