Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / common / metrics / version_utils.h
blobf1491a1e27ed7f76125564e82d26684b85d9ed23
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
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_METRICS_VERSION_UTILS_H_
6 #define CHROME_COMMON_METRICS_VERSION_UTILS_H_
8 #include <string>
10 #include "chrome/common/chrome_version_info.h"
11 #include "components/metrics/proto/system_profile.pb.h"
13 namespace metrics {
15 // Build a string including the Chrome app version, suffixed by "-64" on 64-bit
16 // platforms, and "-devel" on developer builds.
17 std::string GetVersionString();
19 // Translates chrome::VersionInfo::Channel to the equivalent
20 // SystemProfileProto::Channel.
21 SystemProfileProto::Channel AsProtobufChannel(
22 chrome::VersionInfo::Channel channel);
24 } // namespace metrics
26 #endif // CHROME_COMMON_METRICS_VERSION_UTILS_H_