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

Unified Diff: components/version_info/channel_android.h

Issue 2879703002: WebView: Add channel info for UMA (Closed)
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/version_info/BUILD.gn ('k') | components/version_info/channel_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/version_info/channel_android.h
diff --git a/components/version_info/channel_android.h b/components/version_info/channel_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..d4e5cf2002fa2c2013d337d2ccb8b6d9519ab03c
--- /dev/null
+++ b/components/version_info/channel_android.h
@@ -0,0 +1,17 @@
+// Copyright 2017 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.
+
+#ifndef COMPONENTS_VERSION_INFO_CHANNEL_ANDROID_H_
+#define COMPONENTS_VERSION_INFO_CHANNEL_ANDROID_H_
+
+#include "components/version_info/channel.h"
+
+namespace version_info {
+
+// Determine channel based on Chrome's package name.
+Channel ChannelFromPackageName(const char* package_name);
+
+} // namespace version_info
+
+#endif // COMPONENTS_VERSION_INFO_CHANNEL_ANDROID_H_
« no previous file with comments | « components/version_info/BUILD.gn ('k') | components/version_info/channel_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698