dom/mobilemessage/interfaces/nsIMmsService.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.

     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/. */
     5 #include "nsISupports.idl"
     6 interface nsIMobileMessageCallback;
     7 interface nsIDOMBlob;
     9 %{C++
    10 #define MMS_SERVICE_CID { 0x06d9124b, 0x80e0, 0x40ed, \
    11   { 0x98, 0x71, 0x4d, 0x23, 0x4a, 0x0f, 0xd4, 0x31 } }
    12 #define MMS_SERVICE_CONTRACTID "@mozilla.org/mms/mmsservice;1"
    13 %}
    15 [scriptable, uuid(543278b3-d926-4c65-84b8-b49ad7a17d21)]
    16 interface nsIMmsService : nsISupports
    17 {
    18   readonly attribute unsigned long mmsDefaultServiceId;
    20   void send(in unsigned long serviceId,
    21             in jsval parameters /* MmsParameters */,
    22             in nsIMobileMessageCallback request);
    24   void retrieve(in long id,
    25                 in nsIMobileMessageCallback request);
    27   void sendReadReport(in DOMString messageID,
    28                       in DOMString toAddress,
    29                       in DOMString iccId);
    30 };

mercurial