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

Unified Diff: chrome/browser/android/vr_shell/vr_shell_delegate.h

Issue 2865463003: Tracks GVR version crossed with headset type using UMA. (Closed)
Patch Set: Fixed comments Created 3 years, 6 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
Index: chrome/browser/android/vr_shell/vr_shell_delegate.h
diff --git a/chrome/browser/android/vr_shell/vr_shell_delegate.h b/chrome/browser/android/vr_shell/vr_shell_delegate.h
index 71147d2d88881c04e23e4fbbea4108cfd21b8179..8265e347a8282f8800a5eead9da26725041434cf 100644
--- a/chrome/browser/android/vr_shell/vr_shell_delegate.h
+++ b/chrome/browser/android/vr_shell/vr_shell_delegate.h
@@ -12,6 +12,8 @@
#include "base/android/jni_weak_ref.h"
#include "base/callback.h"
#include "base/macros.h"
+#include "chrome/browser/android/vr_shell/vr_core_info.h"
+#include "chrome/browser/android/vr_shell/vr_usage_monitor.h"
#include "device/vr/android/gvr/gvr_delegate_provider.h"
#include "third_party/gvr-android-sdk/src/libraries/headers/vr/gvr/capi/include/gvr_types.h"
@@ -69,11 +71,11 @@ class VrShellDelegate : public device::GvrDelegateProvider {
const base::Callback<void(bool)>& callback) override;
device::GvrDelegate* GetDelegate() override;
void SetListeningForActivate(bool listening) override;
-
void CreateNonPresentingDelegate();
-
void OnActivateDisplayHandled(bool will_not_present);
+ std::unique_ptr<VrCoreInfo> MakeVrCoreInfo(JNIEnv* env);
+
std::unique_ptr<NonPresentingGvrDelegate> non_presenting_delegate_;
base::android::ScopedJavaGlobalRef<jobject> j_vr_shell_delegate_;
device::GvrDeviceProvider* device_provider_ = nullptr;
« no previous file with comments | « chrome/browser/android/vr_shell/vr_metrics_util.cc ('k') | chrome/browser/android/vr_shell/vr_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698