Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/netwerk/protocol/file/nsFileProtocolHandler.h
Line
Count
Source (jump to first uncovered line)
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/. */
5
6
#ifndef nsFileProtocolHandler_h__
7
#define nsFileProtocolHandler_h__
8
9
#include "nsIFileProtocolHandler.h"
10
#include "nsWeakReference.h"
11
12
class nsIURIMutator;
13
14
class nsFileProtocolHandler : public nsIFileProtocolHandler
15
                            , public nsSupportsWeakReference
16
{
17
0
    virtual ~nsFileProtocolHandler() = default;
18
19
public:
20
    NS_DECL_THREADSAFE_ISUPPORTS
21
    NS_DECL_NSIPROTOCOLHANDLER
22
    NS_DECL_NSIFILEPROTOCOLHANDLER
23
24
3
    nsFileProtocolHandler() = default;
25
26
    MOZ_MUST_USE nsresult Init();
27
};
28
29
#endif // !nsFileProtocolHandler_h__