| Index: webkit/fileapi/mock_file_system_options.h
|
| diff --git a/webkit/fileapi/mock_file_system_options.h b/webkit/fileapi/mock_file_system_options.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3b8db3b0a951856c9aaa7568fac8f2e0dfd8e9a6
|
| --- /dev/null
|
| +++ b/webkit/fileapi/mock_file_system_options.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2011 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 "webkit/fileapi/file_system_options.h"
|
| +
|
| +namespace fileapi {
|
| +
|
| +// Default FileSystem options for testing.
|
| +class MockFileSystemOptions : public FileSystemOptions {
|
| + public:
|
| + virtual bool is_incognito() const OVERRIDE { return false; }
|
| + virtual bool allow_file_access_from_files() const OVERRIDE { return true; }
|
| +};
|
| +
|
| +} // namespace fileapi
|
| +
|
| +#endif // WEBKIT_FILEAPI_MOCK_FILE_SYSTEM_OPTIONS_H_
|
|
|