diff options
Diffstat (limited to 'webkit/fileapi/mock_file_system_options.h')
-rw-r--r-- | webkit/fileapi/mock_file_system_options.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/webkit/fileapi/mock_file_system_options.h b/webkit/fileapi/mock_file_system_options.h new file mode 100644 index 0000000..e6cd729 --- /dev/null +++ b/webkit/fileapi/mock_file_system_options.h @@ -0,0 +1,26 @@ +// Copyright (c) 2012 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_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ +#define WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ + +#include "base/basictypes.h" +#include "base/compiler_specific.h" +#include "base/memory/scoped_ptr.h" +#include "webkit/fileapi/file_system_options.h" + +namespace fileapi { + +// Returns Filesystem options for incognito mode. +FileSystemOptions CreateIncognitoFileSystemOptions(); + +// Returns Filesystem options that allow file access. +FileSystemOptions CreateAllowFileAccessOptions(); + +// Returns Filesystem options that disallow file access. +FileSystemOptions CreateDisallowFileAccessOptions(); + +} // namespace fileapi + +#endif // WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_ |