Index: chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrCoreVersionChecker.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrCoreVersionChecker.java b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrCoreVersionChecker.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2757b618f14ede02a6d795256d0f72d26b79e1c3 |
--- /dev/null |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrCoreVersionChecker.java |
@@ -0,0 +1,16 @@ |
+// Copyright 2016 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. |
+ |
+package org.chromium.chrome.browser.vr_shell; |
+ |
+/** |
+ * Abstracts away the VrCoreVersionCheckerImpl class, which may or may not be present at runtime |
+ * depending on compile flags. |
+ */ |
+public interface VrCoreVersionChecker { |
+ /** |
+ * Test if VrCore version installed is compatible with Chromium. |
+ */ |
+ boolean isVrCoreCompatible(); |
+} |