storage/FileSystemModule.h
author alwu <alwu@mozilla.com>
Tue, 20 Nov 2018 22:58:22 +0000
changeset 447505 3d997ec4174de4296a6bd30641d42309999703b0
parent 244682 dd79977a3286d947aff8e270245d05c05e676964
child 448947 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1491475 - part1 : postpone starting AudioContext until calling AudioContext.resume() or AudioScheduledSourceNode.start(). r=padenot If AudioContext is not allowed to start, we would postpone its state transition from `suspended` to `running` until site explicitly calls AudioContext.resume() or AudioScheduledSourceNode.start(). Differential Revision: https://phabricator.services.mozilla.com/D12082

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 * vim: sw=2 ts=2 et lcs=trail\:.,tab\:>~ :
 * 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 mozilla_storage_FileSystemModule_h
#define mozilla_storage_FileSystemModule_h

#include "nscore.h"

struct sqlite3;

namespace mozilla {
namespace storage {

int RegisterFileSystemModule(sqlite3* aDB, const char* aName);

} // namespace storage
} // namespace mozilla

#endif // mozilla_storage_FileSystemModule_h