summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/mock_file_system_options.h
blob: e6cd7293e3552acb2faacfbcc62641eb1d31bf13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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_