Bug 1866777 - Disable test_race_cache_with_network.js on windows opt for frequent...
[gecko.git] / netwerk / cache2 / nsICacheTesting.idl
blob15704f7caa821d2ccc40b5c920b0de6f68406f46
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"
7 interface nsIObserver;
9 /**
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);