OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_OPERATION_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ |
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ | 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } | 105 } |
106 | 106 |
107 friend class FileSystemOperationTest; | 107 friend class FileSystemOperationTest; |
108 friend class FileSystemOperationWriteTest; | 108 friend class FileSystemOperationWriteTest; |
109 friend class FileWriterDelegateTest; | 109 friend class FileWriterDelegateTest; |
110 friend class FileSystemTestOriginHelper; | 110 friend class FileSystemTestOriginHelper; |
111 friend class FileSystemQuotaTest; | 111 friend class FileSystemQuotaTest; |
112 | 112 |
113 void GetUsageAndQuotaThenCallback( | 113 void GetUsageAndQuotaThenCallback( |
114 const GURL& origin_url, | 114 const GURL& origin_url, |
115 quota::QuotaManager::GetUsageAndQuotaCallback* callback); | 115 const quota::QuotaManager::GetUsageAndQuotaCallback& callback); |
116 | 116 |
117 void DelayedCreateFileForQuota(quota::QuotaStatusCode status, | 117 void DelayedCreateFileForQuota(quota::QuotaStatusCode status, |
118 int64 usage, int64 quota); | 118 int64 usage, int64 quota); |
119 void DelayedCreateDirectoryForQuota(quota::QuotaStatusCode status, | 119 void DelayedCreateDirectoryForQuota(quota::QuotaStatusCode status, |
120 int64 usage, int64 quota); | 120 int64 usage, int64 quota); |
121 void DelayedCopyForQuota(quota::QuotaStatusCode status, | 121 void DelayedCopyForQuota(quota::QuotaStatusCode status, |
122 int64 usage, int64 quota); | 122 int64 usage, int64 quota); |
123 void DelayedMoveForQuota(quota::QuotaStatusCode status, | 123 void DelayedMoveForQuota(quota::QuotaStatusCode status, |
124 int64 usage, int64 quota); | 124 int64 usage, int64 quota); |
125 void DelayedWriteForQuota(quota::QuotaStatusCode status, | 125 void DelayedWriteForQuota(quota::QuotaStatusCode status, |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 | 271 |
272 // Length to be truncated. | 272 // Length to be truncated. |
273 int64 length_; | 273 int64 length_; |
274 | 274 |
275 DISALLOW_COPY_AND_ASSIGN(FileSystemOperation); | 275 DISALLOW_COPY_AND_ASSIGN(FileSystemOperation); |
276 }; | 276 }; |
277 | 277 |
278 } // namespace fileapi | 278 } // namespace fileapi |
279 | 279 |
280 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ | 280 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ |
OLD | NEW |