Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / netwerk / streamconv / converters / nsDirIndex.h
blobeb6009295c9cb5c4a8f2130f2ceb722892aa14bb
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
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 nsDirIndex_h__
7 #define nsDirIndex_h__
9 #include "nsIDirIndex.h"
10 #include "nsString.h"
11 #include "mozilla/Attributes.h"
13 class nsDirIndex final : public nsIDirIndex {
14 private:
15 ~nsDirIndex() = default;
17 public:
18 nsDirIndex() = default;
20 NS_DECL_ISUPPORTS
21 NS_DECL_NSIDIRINDEX
23 protected:
24 uint32_t mType{TYPE_UNKNOWN};
25 nsCString mContentType;
26 nsCString mLocation;
27 nsString mDescription;
28 int64_t mSize{INT64_MAX};
29 PRTime mLastModified{-1LL};
32 #endif