We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / storage / browser / fileapi / open_file_system_mode.h
blob03943fdaba568ace9c828cf3c9e00f79b1e16f1b
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef STORAGE_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_
6 #define STORAGE_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_
8 namespace storage {
10 // Determines the behavior on OpenFileSystem when a specified
11 // FileSystem does not exist.
12 // Specifying CREATE_IF_NONEXISTENT may make actual modification on
13 // disk (e.g. creating a root directory, setting up a metadata database etc)
14 // if the filesystem hasn't been initialized.
15 enum OpenFileSystemMode {
16 OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT,
17 OPEN_FILE_SYSTEM_FAIL_IF_NONEXISTENT,
20 } // namespace storage
22 #endif // STORAGE_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_