Changeset 141712 in webkit
- Timestamp:
- Feb 2, 2013 10:12:51 PM (11 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/Platform/ChangeLog
r141684 r141712 1 2013-02-02 Michael Nordman <michaeln@google.com> 2 3 [chromium] FileSystem mods: Changes to snapshot file creation to reduce dependencies on blobs. 4 This patch just alters the WebKitAPI in advance of coding to the new API in chromium and webkit 5 sources, defining two new virtual methods (unimplemented and uncalled). The existing API remains 6 in place and in use. 7 https://bugs.webkit.org/show_bug.cgi?id=108736 8 9 Reviewed by Darin Fisher. 10 11 * chromium/public/WebFileSystem.h: 12 (WebFileSystem): 13 (WebKit::WebFileSystem::createSnapshotFileAndReadMetadata): 14 1 15 2013-02-01 James Simonsen <simonjam@chromium.org> 2 16 -
trunk/Source/Platform/chromium/public/WebFileSystem.h
r116336 r141712 121 121 virtual WebFileWriter* createFileWriter(const WebURL& path, WebFileWriterClient*) { WEBKIT_ASSERT_NOT_REACHED(); return 0; } 122 122 123 // Creates a snapshot file for a given file specified by |path| and registers the file with the |blobURL|. It returns the metadata of the created snapshot file.123 // Creates a snapshot file for a given file specified by |path|. It returns the metadata of the created snapshot file. 124 124 // The returned metadata should include a local platform path to the snapshot image. 125 // In local filesystem cases the backend may simply return the metadata of the file itself (as well as readMetadata does), while in remote filesystem case the backend may download the file into a temporary snapshot file and return the metadata of the temporary file. 125 // In local filesystem cases the backend may simply return the metadata of the file itself (as well as readMetadata does), while in 126 // remote filesystem case the backend may download the file into a temporary snapshot file and return the metadata of the temporary file. 126 127 // The returned metadata is used to create a File object for the |path|. 127 // The snapshot file is supposed to be deleted when the last reference to the |blobURL|is dropped.128 // WebFileSystemCallbacks::did ReadMetadata() with the metadata of the snapshot file must be called when the operation is completed successfully.128 // The snapshot file is supposed to be deleted when the last reference to a WebCore::File referring to it's path is dropped. 129 // WebFileSystemCallbacks::didCreateSnapshotFile() with the metadata of the snapshot file must be called when the operation is completed successfully. 129 130 // WebFileSystemCallbacks::didFail() must be called otherwise. 131 virtual void createSnapshotFileAndReadMetadata(const WebURL& path, WebFileSystemCallbacks*) { WEBKIT_ASSERT_NOT_REACHED(); } 132 133 // DEPRECATED 130 134 virtual void createSnapshotFileAndReadMetadata(const WebURL& blobURL, const WebURL& path, WebFileSystemCallbacks*) { WEBKIT_ASSERT_NOT_REACHED(); } 131 135 -
trunk/Source/WebKit/chromium/ChangeLog
r141675 r141712 1 2013-02-02 Michael Nordman <michaeln@google.com> 2 3 [chromium] FileSystem mods: Changes to snapshot file creation to reduce dependencies on blobs. 4 This patch just alters the WebKitAPI in advance of coding to the new API in chromium and webkit 5 sources, defining two new virtual methods (unimplemented and uncalled). The existing API remains 6 in place and in use. 7 https://bugs.webkit.org/show_bug.cgi?id=108736 8 9 Reviewed by Darin Fisher. 10 11 * public/WebFileSystemCallbacks.h: 12 (WebFileSystemCallbacks): 13 (WebKit::WebFileSystemCallbacks::didCreateSnapshotFile): 14 1 15 2013-02-01 Sheriff Bot <webkit.review.bot@gmail.com> 2 16 -
trunk/Source/WebKit/chromium/public/WebFileSystemCallbacks.h
r140621 r141712 52 52 virtual void didReadMetadata(const WebFileInfo&) = 0; 53 53 54 // Callback for WebFileSystem::createSnapshot. The metadata also includes the 55 // platform file path. 56 virtual void didCreateSnapshotFile(const WebFileInfo&) { WEBKIT_ASSERT_NOT_REACHED(); } 57 54 58 // Callback for WebFileSystem::readDirectory. Called with a vector of 55 59 // file entries in the requested directory. This callback might be called
Note: See TracChangeset
for help on using the changeset viewer.