OLD | NEW |
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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPTIONS_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPTIONS_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPTIONS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "webkit/browser/storage_browser_export.h" | 11 #include "storage/browser/storage_browser_export.h" |
12 | 12 |
13 namespace leveldb { | 13 namespace leveldb { |
14 class Env; | 14 class Env; |
15 } | 15 } |
16 | 16 |
17 namespace storage { | 17 namespace storage { |
18 | 18 |
19 // Provides runtime options that may change FileSystem API behavior. | 19 // Provides runtime options that may change FileSystem API behavior. |
20 // This object is copyable. | 20 // This object is copyable. |
21 class STORAGE_EXPORT FileSystemOptions { | 21 class STORAGE_EXPORT FileSystemOptions { |
(...skipping 30 matching lines...) Expand all Loading... |
52 leveldb::Env* env_override() const { return env_override_; } | 52 leveldb::Env* env_override() const { return env_override_; } |
53 | 53 |
54 private: | 54 private: |
55 const ProfileMode profile_mode_; | 55 const ProfileMode profile_mode_; |
56 const std::vector<std::string> additional_allowed_schemes_; | 56 const std::vector<std::string> additional_allowed_schemes_; |
57 leveldb::Env* env_override_; | 57 leveldb::Env* env_override_; |
58 }; | 58 }; |
59 | 59 |
60 } // namespace storage | 60 } // namespace storage |
61 | 61 |
62 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPTIONS_H_ | 62 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_OPTIONS_H_ |
OLD | NEW |