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

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

Issue 2902813003: VR: keep track of all pages that are recording audio/video/screen (Closed)
Patch Set: 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
Index: chrome/browser/android/vr_shell/vr_shell.h
diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
index bb48c0c93c6269c59690e48bd8b6f654891001aa..11ea5baeb2775ccef0bc178465466c70d65856c8 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -230,6 +230,9 @@ class VrShell : public device::PresentingGvrDelegate,
bool is_capturing_audio_ = false;
bool is_capturing_video_ = false;
bool is_capturing_screen_ = false;
+ int number_of_tabs_capturing_audio_ = 0;
+ int number_of_tabs_capturing_video_ = 0;
+ int number_of_tabs_capturing_screen_ = 0;
// TODO(mthiesse): Remove the need for this to be stored here.
// crbug.com/674594
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | chrome/browser/android/vr_shell/vr_shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698