Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: storage/browser/fileapi/open_file_system_mode.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_
6 #define WEBKIT_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_ 6 #define WEBKIT_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_
7 7
8 namespace fileapi { 8 namespace storage {
9 9
10 // Determines the behavior on OpenFileSystem when a specified 10 // Determines the behavior on OpenFileSystem when a specified
11 // FileSystem does not exist. 11 // FileSystem does not exist.
12 // Specifying CREATE_IF_NONEXISTENT may make actual modification on 12 // Specifying CREATE_IF_NONEXISTENT may make actual modification on
13 // disk (e.g. creating a root directory, setting up a metadata database etc) 13 // disk (e.g. creating a root directory, setting up a metadata database etc)
14 // if the filesystem hasn't been initialized. 14 // if the filesystem hasn't been initialized.
15 enum OpenFileSystemMode { 15 enum OpenFileSystemMode {
16 OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT, 16 OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT,
17 OPEN_FILE_SYSTEM_FAIL_IF_NONEXISTENT, 17 OPEN_FILE_SYSTEM_FAIL_IF_NONEXISTENT,
18 }; 18 };
19 19
20 } // namespace fileapi 20 } // namespace storage
21 21
22 #endif // WEBKIT_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_ 22 #endif // WEBKIT_BROWSER_FILEAPI_OPEN_FILE_SYSTEM_MODE_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/obfuscated_file_util.cc ('k') | storage/browser/fileapi/plugin_private_file_system_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698