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

Side by Side Diff: trunk/src/webkit/browser/fileapi/sandbox_file_system_backend_delegate.h

Issue 64883003: Revert 233815 "Quota: Implement QuotaBackendImpl" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_
6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 const FileSystemOptions& file_system_options() const { 181 const FileSystemOptions& file_system_options() const {
182 return file_system_options_; 182 return file_system_options_;
183 } 183 }
184 184
185 FileSystemFileUtil* sync_file_util(); 185 FileSystemFileUtil* sync_file_util();
186 186
187 private: 187 private:
188 friend class SandboxQuotaObserver; 188 friend class SandboxQuotaObserver;
189 friend class SandboxFileSystemTestHelper; 189 friend class SandboxFileSystemTestHelper;
190 friend class QuotaBackendImpl;
191 FRIEND_TEST_ALL_PREFIXES(SandboxFileSystemBackendDelegateTest, IsAccessValid); 190 FRIEND_TEST_ALL_PREFIXES(SandboxFileSystemBackendDelegateTest, IsAccessValid);
192 191
193 // Performs API-specific validity checks on the given path |url|. 192 // Performs API-specific validity checks on the given path |url|.
194 // Returns true if access to |url| is valid in this filesystem. 193 // Returns true if access to |url| is valid in this filesystem.
195 bool IsAccessValid(const FileSystemURL& url) const; 194 bool IsAccessValid(const FileSystemURL& url) const;
196 195
197 // Returns true if the given |url|'s scheme is allowed to access 196 // Returns true if the given |url|'s scheme is allowed to access
198 // filesystem. 197 // filesystem.
199 bool IsAllowedScheme(const GURL& url) const; 198 bool IsAllowedScheme(const GURL& url) const;
200 199
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 base::Time next_release_time_for_open_filesystem_stat_; 240 base::Time next_release_time_for_open_filesystem_stat_;
242 241
243 base::WeakPtrFactory<SandboxFileSystemBackendDelegate> weak_factory_; 242 base::WeakPtrFactory<SandboxFileSystemBackendDelegate> weak_factory_;
244 243
245 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackendDelegate); 244 DISALLOW_COPY_AND_ASSIGN(SandboxFileSystemBackendDelegate);
246 }; 245 };
247 246
248 } // namespace fileapi 247 } // namespace fileapi
249 248
250 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_ 249 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_FILE_SYSTEM_BACKEND_DELEGATE_H_
OLDNEW
« no previous file with comments | « trunk/src/webkit/browser/fileapi/quota/quota_reservation_manager_unittest.cc ('k') | trunk/src/webkit/storage_browser.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698