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

Unified Diff: device/vr/vr_service_impl.h

Issue 2915993004: [WebVR] Only count devices that have successfully connected. (Closed)
Patch Set: Ignore device manager, just track the connected devices directly from the callbacks 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 | « no previous file | device/vr/vr_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_service_impl.h
diff --git a/device/vr/vr_service_impl.h b/device/vr/vr_service_impl.h
index 6b0c4b65ef202c6a1efe38f7df5d2bbd681b47c4..e66e54cfda2d37c1f66cfae75cb3f69e65e92c77 100644
--- a/device/vr/vr_service_impl.h
+++ b/device/vr/vr_service_impl.h
@@ -60,6 +60,7 @@ class VRServiceImpl : public mojom::VRService {
mojom::VRServiceClientPtr client_;
bool listening_for_activate_;
+ unsigned connected_devices_;
base::WeakPtrFactory<VRServiceImpl> weak_ptr_factory_;
« no previous file with comments | « no previous file | device/vr/vr_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698