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 #include
"nsISupports.idl"
9 [scriptable
, uuid(f6ee3c0a
-5119-47fc
-b1a7
-ace9e1111fff
)]
10 interface nsIXREDirProvider
: nsISupports
13 * Only intended to be used from xpcshell tests. Allows setting the local
14 * and normal profile data directories. Calling this after something using
15 * them has started up will cause problems.
17 void setUserDataDirectory
(in nsIFile aFile
, in boolean aLocal
);
20 * Gets the hash for the current installation directory.
22 AString getInstallHash
();