netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.h
author Honza Bambas <honzab.moz@firemni.cz>
Wed, 20 Nov 2013 23:20:16 +0100
changeset 171262 66a063b14ddbfd82e8029d12a3577c72927d9d5d
parent 128394 44dcffe8792b49ce4ef2e6471f61e1af5ff62b5e
child 177055 a081f99b568d82b06448661f9fa417b8653e24a2
permissions -rw-r--r--
Bug 917432 - hook to webapps-clear-data notification, r=michal

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef nsWyciwygProtocolHandler_h___
#define nsWyciwygProtocolHandler_h___

#include "nsIProtocolHandler.h"
            
class nsWyciwygProtocolHandler : public nsIProtocolHandler
{
public:
    NS_DECL_ISUPPORTS
    NS_DECL_NSIPROTOCOLHANDLER

    nsWyciwygProtocolHandler();
    virtual ~nsWyciwygProtocolHandler();

    nsresult Init();

    static void GetCacheSessionName(uint32_t aAppId,
                                    bool aInBrowser,
                                    bool aPrivateBrowsing,
                                    nsACString& aSessionName);
};

#endif /* nsWyciwygProtocolHandler_h___ */