PRemoteQuotaObject.ipdl (730B)
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 file, 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 namespace mozilla { 6 namespace dom { 7 namespace quota { 8 9 [ChildProc=anydom] 10 sync protocol PRemoteQuotaObject 11 { 12 parent: 13 // This must be synchronous because we don't have quota file stream wrappers 14 // which would be fully asynchronous (non-blocking). Given that, this message 15 // should never be sent on the main thread or the PBackground thread or a DOM 16 // worker thread. 17 sync MaybeUpdateSize(int64_t size, bool truncate) 18 returns(bool result); 19 }; 20 21 } // namespace quota 22 } // namespace dom 23 } // namespace mozilla