Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | // Interface/PropID.h |
michael@0 | 2 | |
michael@0 | 3 | #ifndef __INTERFACE_PROPID_H |
michael@0 | 4 | #define __INTERFACE_PROPID_H |
michael@0 | 5 | |
michael@0 | 6 | enum |
michael@0 | 7 | { |
michael@0 | 8 | kpidNoProperty = 0, |
michael@0 | 9 | |
michael@0 | 10 | kpidHandlerItemIndex = 2, |
michael@0 | 11 | kpidPath, |
michael@0 | 12 | kpidName, |
michael@0 | 13 | kpidExtension, |
michael@0 | 14 | kpidIsFolder, |
michael@0 | 15 | kpidSize, |
michael@0 | 16 | kpidPackedSize, |
michael@0 | 17 | kpidAttributes, |
michael@0 | 18 | kpidCreationTime, |
michael@0 | 19 | kpidLastAccessTime, |
michael@0 | 20 | kpidLastWriteTime, |
michael@0 | 21 | kpidSolid, |
michael@0 | 22 | kpidCommented, |
michael@0 | 23 | kpidEncrypted, |
michael@0 | 24 | kpidSplitBefore, |
michael@0 | 25 | kpidSplitAfter, |
michael@0 | 26 | kpidDictionarySize, |
michael@0 | 27 | kpidCRC, |
michael@0 | 28 | kpidType, |
michael@0 | 29 | kpidIsAnti, |
michael@0 | 30 | kpidMethod, |
michael@0 | 31 | kpidHostOS, |
michael@0 | 32 | kpidFileSystem, |
michael@0 | 33 | kpidUser, |
michael@0 | 34 | kpidGroup, |
michael@0 | 35 | kpidBlock, |
michael@0 | 36 | kpidComment, |
michael@0 | 37 | kpidPosition, |
michael@0 | 38 | kpidPrefix, |
michael@0 | 39 | |
michael@0 | 40 | kpidTotalSize = 0x1100, |
michael@0 | 41 | kpidFreeSpace, |
michael@0 | 42 | kpidClusterSize, |
michael@0 | 43 | kpidVolumeName, |
michael@0 | 44 | |
michael@0 | 45 | kpidLocalName = 0x1200, |
michael@0 | 46 | kpidProvider, |
michael@0 | 47 | |
michael@0 | 48 | kpidUserDefined = 0x10000 |
michael@0 | 49 | }; |
michael@0 | 50 | |
michael@0 | 51 | #endif |