Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef _CC_DEVICE_FEATURE_H_
6 #define _CC_DEVICE_FEATURE_H_
8 #include "cc_constants.h"
11 /**
12 * Enable or disable video capability of the device.
13 * @param enable - a flag to indicate that application wants to enable of
14 * disable video capability of the device.
15 * @return void
16 */
17 void CC_DeviceFeature_enableVideo(cc_boolean enable);
19 /**
20 * Indicate native video support for the device
21 * @param enable - a flag to indicate that device supports native video
22 * @return void
23 */
24 void CC_DeviceFeature_supportsVideo(cc_boolean enable);
26 /**
27 * Enable or disable camera capability of the device.
28 * @param enable - a flag to indicate that application wants to enable of
29 * disable camera capability of the device.
30 * @return void
31 */
32 void CC_DeviceFeature_enableCamera(cc_boolean enable);
35 #endif /* _CC_DEVICE_FEATURE_H_ */