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

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

Issue 21116008: FileAPI: Move FileSystemQuotaUtil related functions into SandboxContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_FILE_SYSTEM_OPTIONS_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPTIONS_H_
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPTIONS_H_ 6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPTIONS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 // Returns the schemes that must be allowed to access FileSystem API 38 // Returns the schemes that must be allowed to access FileSystem API
39 // in addition to standard "http" and "https". 39 // in addition to standard "http" and "https".
40 // (e.g. If the --allow-file-access-from-files option is given in chrome 40 // (e.g. If the --allow-file-access-from-files option is given in chrome
41 // "file" scheme will also need to be allowed). 41 // "file" scheme will also need to be allowed).
42 const std::vector<std::string>& additional_allowed_schemes() const { 42 const std::vector<std::string>& additional_allowed_schemes() const {
43 return additional_allowed_schemes_; 43 return additional_allowed_schemes_;
44 } 44 }
45 45
46 private: 46 private:
47 const ProfileMode profile_mode_; 47 ProfileMode profile_mode_;
48 const std::vector<std::string> additional_allowed_schemes_; 48 std::vector<std::string> additional_allowed_schemes_;
49 }; 49 };
50 50
51 } // namespace fileapi 51 } // namespace fileapi
52 52
53 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPTIONS_H_ 53 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698