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

Side by Side Diff: components/metrics/net/version_utils.h

Issue 2879703002: WebView: Add channel info for UMA (Closed)
Patch Set: Created 3 years, 7 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
OLDNEW
(Empty)
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.
4
5 #ifndef COMPONENTS_METRICS_NET_VERSION_UTILS_H_
6 #define COMPONENTS_METRICS_NET_VERSION_UTILS_H_
7
8 #include <string>
9
10 #include "components/metrics/proto/system_profile.pb.h"
11
12 namespace version_info {
13 enum class Channel;
14 }
15
16 namespace metrics {
17
18 // Build a string including the Chrome app version, suffixed by "-64" on 64-bit
19 // platforms, and "-devel" on developer builds.
20 std::string GetVersionString();
21
22 // Translates version_info::Channel to the equivalent
23 // SystemProfileProto::Channel.
24 SystemProfileProto::Channel AsProtobufChannel(
25 version_info::Channel channel);
26
27 } // namespace metrics
28
29 #endif // COMPONENTS_METRICS_NET_VERSION_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698