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

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

Issue 61593002: Quota: Implement QuotaBackendImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 7 years, 1 month 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
« no previous file with comments | « content/content_tests.gypi ('k') | webkit/browser/fileapi/quota/quota_backend_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_OBFUSCATED_FILE_UTIL_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_
6 #define WEBKIT_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 6 #define WEBKIT_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // at most one database). 223 // at most one database).
224 void MaybePrepopulateDatabase( 224 void MaybePrepopulateDatabase(
225 const std::vector<std::string>& type_strings_to_prepopulate); 225 const std::vector<std::string>& type_strings_to_prepopulate);
226 226
227 private: 227 private:
228 typedef SandboxDirectoryDatabase::FileId FileId; 228 typedef SandboxDirectoryDatabase::FileId FileId;
229 typedef SandboxDirectoryDatabase::FileInfo FileInfo; 229 typedef SandboxDirectoryDatabase::FileInfo FileInfo;
230 230
231 friend class ObfuscatedFileEnumerator; 231 friend class ObfuscatedFileEnumerator;
232 friend class ObfuscatedFileUtilTest; 232 friend class ObfuscatedFileUtilTest;
233 friend class QuotaBackendImplTest;
233 FRIEND_TEST_ALL_PREFIXES(ObfuscatedFileUtilTest, MaybeDropDatabasesAliveCase); 234 FRIEND_TEST_ALL_PREFIXES(ObfuscatedFileUtilTest, MaybeDropDatabasesAliveCase);
234 FRIEND_TEST_ALL_PREFIXES(ObfuscatedFileUtilTest, 235 FRIEND_TEST_ALL_PREFIXES(ObfuscatedFileUtilTest,
235 MaybeDropDatabasesAlreadyDeletedCase); 236 MaybeDropDatabasesAlreadyDeletedCase);
236 FRIEND_TEST_ALL_PREFIXES(ObfuscatedFileUtilTest, 237 FRIEND_TEST_ALL_PREFIXES(ObfuscatedFileUtilTest,
237 DestroyDirectoryDatabase_Isolated); 238 DestroyDirectoryDatabase_Isolated);
238 FRIEND_TEST_ALL_PREFIXES(ObfuscatedFileUtilTest, 239 FRIEND_TEST_ALL_PREFIXES(ObfuscatedFileUtilTest,
239 GetDirectoryDatabase_Isolated); 240 GetDirectoryDatabase_Isolated);
240 FRIEND_TEST_ALL_PREFIXES(ObfuscatedFileUtilTest, 241 FRIEND_TEST_ALL_PREFIXES(ObfuscatedFileUtilTest,
241 MigrationBackFromIsolated); 242 MigrationBackFromIsolated);
242 243
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 350
350 // Not owned. 351 // Not owned.
351 SandboxFileSystemBackendDelegate* sandbox_delegate_; 352 SandboxFileSystemBackendDelegate* sandbox_delegate_;
352 353
353 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil); 354 DISALLOW_COPY_AND_ASSIGN(ObfuscatedFileUtil);
354 }; 355 };
355 356
356 } // namespace fileapi 357 } // namespace fileapi
357 358
358 #endif // WEBKIT_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_ 359 #endif // WEBKIT_BROWSER_FILEAPI_OBFUSCATED_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | webkit/browser/fileapi/quota/quota_backend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698