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"
10 * This is an internal interface used only for testing purposes.
12 * THIS IS NOT AN API TO BE USED BY EXTENSIONS! ONLY USED BY MOZILLA TESTS.
14 [scriptable
, builtinclass
, uuid(4e8ba935
-92e1
-4a74
-944b
-b1a2f02a7480
)]
15 interface nsICacheTesting
: nsISupports
17 void suspendCacheIOThread
(in uint32_t aLevel
);
18 void resumeCacheIOThread
();
19 void flush
(in nsIObserver aObserver
);