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_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ |
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ | 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 quota::StorageType storage_type() const { | 94 quota::StorageType storage_type() const { |
95 return FileSystemTypeToQuotaStorageType(type_); | 95 return FileSystemTypeToQuotaStorageType(type_); |
96 } | 96 } |
97 FileSystemFileUtil* file_util() const { return file_util_; } | 97 FileSystemFileUtil* file_util() const { return file_util_; } |
98 | 98 |
99 private: | 99 private: |
100 scoped_refptr<FileSystemContext> file_system_context_; | 100 scoped_refptr<FileSystemContext> file_system_context_; |
101 const GURL origin_; | 101 const GURL origin_; |
102 const FileSystemType type_; | 102 const FileSystemType type_; |
103 FileSystemFileUtil* file_util_; | 103 FileSystemFileUtil* file_util_; |
104 int64 initial_usage_size_; | |
105 }; | 104 }; |
106 | 105 |
107 } // namespace fileapi | 106 } // namespace fileapi |
108 | 107 |
109 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ | 108 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_TEST_HELPER_H_ |
OLD | NEW |