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

Side by Side Diff: content/common/fileapi/webfilesystem_callback_dispatcher.h

Issue 12084077: FileSystem mods: Changes to snapshot file creation to remove dependencies on blobs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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) 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 CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_ 5 #ifndef CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_
6 #define CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_ 6 #define CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "webkit/fileapi/file_system_callback_dispatcher.h" 10 #include "webkit/fileapi/file_system_callback_dispatcher.h"
(...skipping 10 matching lines...) Expand all
21 : public fileapi::FileSystemCallbackDispatcher { 21 : public fileapi::FileSystemCallbackDispatcher {
22 public: 22 public:
23 explicit WebFileSystemCallbackDispatcher( 23 explicit WebFileSystemCallbackDispatcher(
24 WebKit::WebFileSystemCallbacks* callbacks); 24 WebKit::WebFileSystemCallbacks* callbacks);
25 25
26 // FileSystemCallbackDispatcher implementation 26 // FileSystemCallbackDispatcher implementation
27 virtual void DidSucceed() OVERRIDE; 27 virtual void DidSucceed() OVERRIDE;
28 virtual void DidReadMetadata( 28 virtual void DidReadMetadata(
29 const base::PlatformFileInfo& file_info, 29 const base::PlatformFileInfo& file_info,
30 const base::FilePath& platform_path) OVERRIDE; 30 const base::FilePath& platform_path) OVERRIDE;
31 virtual void DidCreateSnapshotFile(
32 const base::PlatformFileInfo& file_info,
33 const base::FilePath& platform_path) OVERRIDE;
31 virtual void DidReadDirectory( 34 virtual void DidReadDirectory(
32 const std::vector<base::FileUtilProxy::Entry>& entries, 35 const std::vector<base::FileUtilProxy::Entry>& entries,
33 bool has_more) OVERRIDE; 36 bool has_more) OVERRIDE;
34 virtual void DidOpenFileSystem(const std::string&, 37 virtual void DidOpenFileSystem(const std::string&,
35 const GURL&) OVERRIDE; 38 const GURL&) OVERRIDE;
36 virtual void DidFail(base::PlatformFileError) OVERRIDE; 39 virtual void DidFail(base::PlatformFileError) OVERRIDE;
37 virtual void DidWrite(int64 bytes, bool complete) OVERRIDE; 40 virtual void DidWrite(int64 bytes, bool complete) OVERRIDE;
38 41
39 private: 42 private:
40 WebKit::WebFileSystemCallbacks* callbacks_; 43 WebKit::WebFileSystemCallbacks* callbacks_;
41 }; 44 };
42 45
43 } // namespace content 46 } // namespace content
44 47
45 #endif // CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_ 48 #endif // CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/common/fileapi/file_system_messages.h ('k') | content/common/fileapi/webfilesystem_callback_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698