Bug 1527719 [wpt PR 15359] - KV storage: make backingStore return the same frozen...
[gecko.git] / storage / mozStorageArgValueArray.h
blob8c8c21fde00187bba5d5262ff8b8dde016fce848
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * vim: sw=2 ts=2 et lcs=trail\:.,tab\:>~ :
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 mozStorageArgValueArray_h
8 #define mozStorageArgValueArray_h
10 #include "mozIStorageValueArray.h"
11 #include "mozilla/Attributes.h"
13 #include "sqlite3.h"
15 namespace mozilla {
16 namespace storage {
18 class ArgValueArray final : public mozIStorageValueArray {
19 public:
20 ArgValueArray(int32_t aArgc, sqlite3_value **aArgv);
22 NS_DECL_ISUPPORTS
23 NS_DECL_MOZISTORAGEVALUEARRAY
25 private:
26 ~ArgValueArray() {}
28 uint32_t mArgc;
29 sqlite3_value **mArgv;
32 } // namespace storage
33 } // namespace mozilla
35 #endif // mozStorageArgValueArray_h