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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrCoreInfo.java

Issue 2865463003: Tracks GVR version crossed with headset type using UMA. (Closed)
Patch Set: Rebased on ToT, changed logging to UMA_HISTOGRAM_SPARSE_SLOWLY 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 2017 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 package org.chromium.chrome.browser.vr_shell;
6
7 import com.google.vr.ndk.base.Version;
8
9 /**
10 * Container class to provide the version and the compatibility with Chromium of the installed
11 * VrCore.
12 */
13 public class VrCoreInfo {
14 public final Version version;
15 public final int compatibility;
16
17 public VrCoreInfo(Version version, int compatibility) {
mthiesse 2017/05/16 01:15:12 If you want to share the compatibility enum across
tiborg 2017/05/23 15:47:24 Oh yes. Very good advice. Pretty neat.
18 this.version = version;
19 this.compatibility = compatibility;
20 }
21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698