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

Side by Side Diff: webkit/fileapi/file_system_options.h

Issue 9004019: Cleanup: Removing FileSystemPathManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 9 years 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
(Empty)
1 // Copyright (c) 2011 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.
4
5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_OPTIONS_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_OPTIONS_H_
7
8 namespace fileapi {
9
10 // An interface to provide runtime options that may change FileSystem API
11 // behavior.
12 class FileSystemOptions {
13 public:
14 virtual ~FileSystemOptions() {}
15
16 // Returns true if it is running in the incognito mode.
17 virtual bool is_incognito() const = 0;
18
19 // Returns true if it is configured to allow file access from files
20 // (e.g. the --allow-file-access-from-files option is given or it is
21 // for testing).
22 virtual bool allow_file_access_from_files() const = 0;
23 };
24
25 } // namespace fileapi
26
27 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698