dom/mobilemessage/interfaces/nsIMobileMessageDatabaseService.idl

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 #include "nsISupports.idl"
michael@0 6
michael@0 7 %{C++
michael@0 8 #define MOBILE_MESSAGE_DATABASE_SERVICE_CID \
michael@0 9 { 0x0d84b9c2, 0x8f76, 0x4ba4, \
michael@0 10 { 0xa5, 0xcd, 0xdb, 0xfb, 0x01, 0xdf, 0xda, 0x99 } }
michael@0 11 #define MOBILE_MESSAGE_DATABASE_SERVICE_CONTRACTID "@mozilla.org/mobilemessage/mobilemessagedatabaseservice;1"
michael@0 12 %}
michael@0 13
michael@0 14 interface nsICursorContinueCallback;
michael@0 15 interface nsIDOMMozSmsFilter;
michael@0 16 interface nsIMobileMessageCallback;
michael@0 17 interface nsIMobileMessageCursorCallback;
michael@0 18
michael@0 19 [scriptable, uuid(8439916f-abc1-4c67-aa45-8a276a0a7855)]
michael@0 20 interface nsIMobileMessageDatabaseService : nsISupports
michael@0 21 {
michael@0 22 [binaryname(GetMessageMoz)]
michael@0 23 void getMessage(in long messageId,
michael@0 24 in nsIMobileMessageCallback request);
michael@0 25
michael@0 26 void deleteMessage([array, size_is(count)] in long messageIds,
michael@0 27 in uint32_t count,
michael@0 28 in nsIMobileMessageCallback request);
michael@0 29
michael@0 30 nsICursorContinueCallback createMessageCursor(in nsIDOMMozSmsFilter filter,
michael@0 31 in boolean reverse,
michael@0 32 in nsIMobileMessageCursorCallback callback);
michael@0 33
michael@0 34 void markMessageRead(in long messageId,
michael@0 35 in boolean value,
michael@0 36 in boolean sendReadReport,
michael@0 37 in nsIMobileMessageCallback request);
michael@0 38
michael@0 39 nsICursorContinueCallback createThreadCursor(in nsIMobileMessageCursorCallback callback);
michael@0 40 };

mercurial