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

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

Issue 522543002: Modify test case to support streaming operation in sandbox file system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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_FILE_SYSTEM_CONTEXT_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 WatcherManager* GetWatcherManager(FileSystemType type) const; 169 WatcherManager* GetWatcherManager(FileSystemType type) const;
170 170
171 // Returns true for sandboxed filesystems. Currently this does 171 // Returns true for sandboxed filesystems. Currently this does
172 // the same as GetQuotaUtil(type) != NULL. (In an assumption that 172 // the same as GetQuotaUtil(type) != NULL. (In an assumption that
173 // all sandboxed filesystems must cooperate with QuotaManager so that 173 // all sandboxed filesystems must cooperate with QuotaManager so that
174 // they can get deleted) 174 // they can get deleted)
175 bool IsSandboxFileSystem(FileSystemType type) const; 175 bool IsSandboxFileSystem(FileSystemType type) const;
176 176
177 // Returns observers for the given filesystem type. 177 // Returns observers for the given filesystem type.
178 const UpdateObserverList* GetUpdateObservers(FileSystemType type) const; 178 const UpdateObserverList* GetUpdateObservers(FileSystemType type) const;
179 const ChangeObserverList* GetChangeObservers(FileSystemType type) const;
179 const AccessObserverList* GetAccessObservers(FileSystemType type) const; 180 const AccessObserverList* GetAccessObservers(FileSystemType type) const;
180 181
181 // Returns all registered filesystem types. 182 // Returns all registered filesystem types.
182 void GetFileSystemTypes(std::vector<FileSystemType>* types) const; 183 void GetFileSystemTypes(std::vector<FileSystemType>* types) const;
183 184
184 // Returns a FileSystemBackend instance for external filesystem 185 // Returns a FileSystemBackend instance for external filesystem
185 // type, which is used only by chromeos for now. This is equivalent to 186 // type, which is used only by chromeos for now. This is equivalent to
186 // calling GetFileSystemBackend(kFileSystemTypeExternal). 187 // calling GetFileSystemBackend(kFileSystemTypeExternal).
187 ExternalFileSystemBackend* external_backend() const; 188 ExternalFileSystemBackend* external_backend() const;
188 189
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 419
419 struct DefaultContextDeleter { 420 struct DefaultContextDeleter {
420 static void Destruct(const FileSystemContext* context) { 421 static void Destruct(const FileSystemContext* context) {
421 context->DeleteOnCorrectThread(); 422 context->DeleteOnCorrectThread();
422 } 423 }
423 }; 424 };
424 425
425 } // namespace storage 426 } // namespace storage
426 427
427 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 428 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/copy_or_move_operation_delegate.cc ('k') | webkit/browser/fileapi/file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698