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 20572ccda6663f2427176b5138158358514b22e6..4551d5002214f5ddeb0f89ced43a0a44fcf9015e 100644 |
--- a/chrome/browser/android/vr_shell/vr_shell.h |
+++ b/chrome/browser/android/vr_shell/vr_shell.h |
@@ -181,6 +181,8 @@ class VrShell : public device::PresentingGvrDelegate, |
void ProcessTabArray(JNIEnv* env, jobjectArray tabs, bool incognito); |
+ void PollMediaAccessFlag(); |
+ |
bool vr_shell_enabled_; |
std::unique_ptr<UiInterface> ui_; |
@@ -206,6 +208,10 @@ class VrShell : public device::PresentingGvrDelegate, |
bool reprojected_rendering_; |
jobject content_surface_ = nullptr; |
+ base::CancelableClosure poll_capturing_media_task_; |
+ bool is_capturing_audio_ = false; |
+ bool is_capturing_video_ = false; |
+ bool is_capturing_screen_ = false; |
// TODO(mthiesse): Remove the need for this to be stored here. |
// crbug.com/674594 |