xpcom/xpcom-private.h.in

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

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.

     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 /* The following defines are only used by the xpcom implementation */
     7 #ifndef _XPCOM_PRIVATE_H_
     8 #define _XPCOM_PRIVATE_H_
    10 /* Define if getpagesize() is available */
    11 #undef HAVE_GETPAGESIZE
    13 /* Define if iconv() is available */
    14 #undef HAVE_ICONV
    16 /* Define if iconv() supports const input */
    17 #undef HAVE_ICONV_WITH_CONST_INPUT
    19 /* Define if mbrtowc() is available */
    20 #undef HAVE_MBRTOWC
    22 /* Define if wcrtomb() is available */
    23 #undef HAVE_WCRTOMB
    25 /* Define if statvfs64() is available */
    26 #undef HAVE_STATVFS64
    28 /* Define if statvfs() is available */
    29 #undef HAVE_STATVFS
    31 /* Define if statfs64() is available */
    32 #undef HAVE_STATFS64
    34 /* Define if statfs() is available */
    35 #undef HAVE_STATFS
    37 /* Define if <sys/statvfs.h> is present */
    38 #undef HAVE_SYS_STATVFS_H
    40 /* Define if <sys/statfs.h> is present */
    41 #undef HAVE_SYS_STATFS_H
    43 /* Define if <sys/vfs.h> is present */
    44 #undef HAVE_SYS_VFS_H
    46 /* Define if <sys/mount.h> is present */
    47 #undef HAVE_SYS_MOUNT_H
    49 #endif /* _XPCOM_PRIVATE_H_ */

mercurial