chrome/src/nsChromeProtocolHandler.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #ifndef nsChromeProtocolHandler_h___
     7 #define nsChromeProtocolHandler_h___
     9 #include "nsIProtocolHandler.h"
    10 #include "nsWeakReference.h"
    11 #include "mozilla/Attributes.h"
    13 #define NS_CHROMEPROTOCOLHANDLER_CID                 \
    14 { /* 61ba33c0-3031-11d3-8cd0-0060b0fc14a3 */         \
    15     0x61ba33c0,                                      \
    16     0x3031,                                          \
    17     0x11d3,                                          \
    18     {0x8c, 0xd0, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
    19 }
    21 class nsChromeProtocolHandler MOZ_FINAL : public nsIProtocolHandler,
    22                                           public nsSupportsWeakReference
    23 {
    24 public:
    25     NS_DECL_THREADSAFE_ISUPPORTS
    27     // nsIProtocolHandler methods:
    28     NS_DECL_NSIPROTOCOLHANDLER
    30     // nsChromeProtocolHandler methods:
    31     nsChromeProtocolHandler() {}
    32     ~nsChromeProtocolHandler() {}
    33 };
    35 #endif /* nsChromeProtocolHandler_h___ */

mercurial