| // Copyright 2017 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. |
| |
| #ifndef CHROME_BROWSER_VR_MODEL_CAPTURING_STATE_MODEL_H_ |
| #define CHROME_BROWSER_VR_MODEL_CAPTURING_STATE_MODEL_H_ |
| |
| #include "chrome/browser/vr/vr_export.h" |
| |
| namespace vr { |
| |
| struct VR_EXPORT CapturingStateModel { |
| CapturingStateModel(); |
| CapturingStateModel(const CapturingStateModel& other); |
| ~CapturingStateModel(); |
| |
| bool audio_capture_enabled = false; |
| bool video_capture_enabled = false; |
| bool screen_capture_enabled = false; |
| bool location_access_enabled = false; |
| bool bluetooth_connected = false; |
| |
| bool background_audio_capture_enabled = false; |
| bool background_video_capture_enabled = false; |
| bool background_screen_capture_enabled = false; |
| bool background_location_access_enabled = false; |
| bool background_bluetooth_connected = false; |
| |
| bool audio_capture_potentially_enabled = false; |
| bool video_capture_potentially_enabled = false; |
| bool screen_capture_potentially_enabled = false; |
| bool location_access_potentially_enabled = false; |
| bool bluetooth_potentially_connected = false; |
| }; |
| |
| typedef bool CapturingStateModel::*CapturingStateModelMemberPtr; |
| |
| } // namespace vr |
| |
| #endif // CHROME_BROWSER_VR_MODEL_CAPTURING_STATE_MODEL_H_ |