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

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

Issue 6905095: Integrated test with the actual QuotaManager and PathManager. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Reflected the comments, and rebased. Created 9 years, 6 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) 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 97 }
98 98
99 FileSystemOperationContext* file_system_operation_context() { 99 FileSystemOperationContext* file_system_operation_context() {
100 return &file_system_operation_context_; 100 return &file_system_operation_context_;
101 } 101 }
102 102
103 friend class FileSystemOperationTest; 103 friend class FileSystemOperationTest;
104 friend class FileSystemOperationWriteTest; 104 friend class FileSystemOperationWriteTest;
105 friend class FileWriterDelegateTest; 105 friend class FileWriterDelegateTest;
106 friend class FileSystemTestOriginHelper; 106 friend class FileSystemTestOriginHelper;
107 friend class FileSystemQuotaTest;
107 108
108 bool GetUsageAndQuotaThenCallback( 109 bool GetUsageAndQuotaThenCallback(
109 const GURL& origin_url, 110 const GURL& origin_url,
110 quota::QuotaManager::GetUsageAndQuotaCallback* callback); 111 quota::QuotaManager::GetUsageAndQuotaCallback* callback);
111 112
112 void DelayedCopyForQuota(quota::QuotaStatusCode status, 113 void DelayedCopyForQuota(quota::QuotaStatusCode status,
113 int64 usage, int64 quota); 114 int64 usage, int64 quota);
114 void DelayedMoveForQuota(quota::QuotaStatusCode status, 115 void DelayedMoveForQuota(quota::QuotaStatusCode status,
115 int64 usage, int64 quota); 116 int64 usage, int64 quota);
116 void DelayedWriteForQuota(quota::QuotaStatusCode status, 117 void DelayedWriteForQuota(quota::QuotaStatusCode status,
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 245
245 // Length to be truncated. 246 // Length to be truncated.
246 int64 length_; 247 int64 length_;
247 248
248 DISALLOW_COPY_AND_ASSIGN(FileSystemOperation); 249 DISALLOW_COPY_AND_ASSIGN(FileSystemOperation);
249 }; 250 };
250 251
251 } // namespace fileapi 252 } // namespace fileapi
252 253
253 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_ 254 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_OPERATION_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/fileapi/file_system_quota_unittest.cc » ('j') | webkit/fileapi/file_system_quota_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698