blob: 3bc352f058f983734bb84a8ba02c1cc0f951f787 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBKIT_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_
#define WEBKIT_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_
namespace storage {
// Determines the behavior on OpenFileSystem when a specified
// FileSystem does not exist.
// Specifying CREATE_IF_NONEXISTENT may make actual modification on
// disk (e.g. creating a root directory, setting up a metadata database etc)
// if the filesystem hasn't been initialized.
enum OpenFileSystemMode {
OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT,
OPEN_FILE_SYSTEM_FAIL_IF_NONEXISTENT,
};
} // namespace storage
#endif // WEBKIT_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_
|