1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef DOM_QUOTA_CONSTANTS_H_
8 #define DOM_QUOTA_CONSTANTS_H_
10 #include "nsLiteralString.h"
12 // The name of the file that we use to load/save the last access time of an
14 // XXX We should get rid of old metadata files at some point, bug 1343576.
15 #define METADATA_FILE_NAME u".metadata"
16 #define METADATA_TMP_FILE_NAME u".metadata-tmp"
17 #define METADATA_V2_FILE_NAME u".metadata-v2"
18 #define METADATA_V2_TMP_FILE_NAME u".metadata-v2-tmp"
20 namespace mozilla::dom::quota
{
22 const char kChromeOrigin
[] = "chrome";
24 constexpr auto kSQLiteSuffix
= u
".sqlite"_ns
;
26 constexpr nsLiteralCString kUUIDOriginScheme
= "uuid"_ns
;
28 } // namespace mozilla::dom::quota
30 #endif // DOM_QUOTA_CONSTANTS_H_