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

Issue 12084077: FileSystem mods: Changes to snapshot file creation to remove dependencies on blobs. (Closed)

Created:
7 years, 10 months ago by michaeln
Modified:
7 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, tzik+watch_chromium.org, kinuko+watch, jam, darin-cc_chromium.org
Visibility:
Public.

Description

FileSystem mods: Changes to snapshot file creation to remove dependencies on blobs. * Implementats of a new WebFileSystem::createSnapshotFileAndReadMetadata(...) method that does not take a blobURL as input and that invokes a new WebFileSystemCallbacks::didCreateSnapshotFile(...) in response instead of overloading the didReadMetadata callback for that purpose. * Leaves the existing handling in place since its still in use by WK. This CL is the 2nd in a series of changes that straddle webkit vs chromium repositories. 1) WK: Declare new virtual createSnapshotFile/didCreateSnapshotFile public api methods. 2) CR: Implement the new create method such that the didCreate method is invoked in response. 3) WK: Use the new create method and implement the new didCreate method. 3) CR: Cleanup the obsolete/deprecated blocks of code. BUG=174200 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182822

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 3

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Patch Set 9 : #

Total comments: 1

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -20 lines) Patch
M content/browser/fileapi/fileapi_message_filter.h View 1 2 3 4 5 6 7 8 9 4 chunks +20 lines, -3 lines 0 comments Download
M content/browser/fileapi/fileapi_message_filter.cc View 1 2 3 4 5 6 7 8 9 5 chunks +86 lines, -1 line 0 comments Download
M content/common/fileapi/file_system_dispatcher.h View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -2 lines 0 comments Download
M content/common/fileapi/file_system_dispatcher.cc View 1 2 3 4 5 6 7 8 9 2 chunks +26 lines, -1 line 0 comments Download
M content/common/fileapi/file_system_messages.h View 1 2 3 4 5 6 7 8 9 2 chunks +17 lines, -2 lines 0 comments Download
M content/common/fileapi/webfilesystem_callback_dispatcher.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/fileapi/webfilesystem_callback_dispatcher.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
M content/common/fileapi/webfilesystem_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -1 line 0 comments Download
M content/common/fileapi/webfilesystem_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -1 line 0 comments Download
M content/common/fileapi/webfilewriter_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -3 lines 0 comments Download
M content/renderer/pepper/pepper_directory_reader_host.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_file_io_host.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_callback_dispatcher.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/file_callbacks.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/file_callbacks.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/simple_file_system.h View 1 2 3 4 5 6 7 8 9 3 chunks +17 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/simple_file_system.cc View 1 2 3 4 5 6 7 8 9 4 chunks +44 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
michaeln
ptal https://codereview.chromium.org/12084077/diff/19005/content/common/fileapi/webfilesystem_callback_dispatcher.cc File content/common/fileapi/webfilesystem_callback_dispatcher.cc (right): https://codereview.chromium.org/12084077/diff/19005/content/common/fileapi/webfilesystem_callback_dispatcher.cc#newcode53 content/common/fileapi/webfilesystem_callback_dispatcher.cc:53: //callbacks_->didCreateSnapshotFile(web_file_info); I need to land the first in ...
7 years, 10 months ago (2013-01-30 23:32:23 UTC) #1
michaeln
I'm dusting off a mac to prepare the first CL in the series and will ...
7 years, 10 months ago (2013-01-30 23:46:12 UTC) #2
kinuko
lgtm, assuming we'll have the WK patch landed before this goes. Meta-comment: can we file ...
7 years, 10 months ago (2013-01-31 06:37:03 UTC) #3
michaeln
https://codereview.chromium.org/12084077/diff/6008/content/common/fileapi/webfilesystem_impl.h File content/common/fileapi/webfilesystem_impl.h (right): https://codereview.chromium.org/12084077/diff/6008/content/common/fileapi/webfilesystem_impl.h#newcode64 content/common/fileapi/webfilesystem_impl.h:64: WebKit::WebFileSystemCallbacks*); > is this going to have OVERRIDE once ...
7 years, 10 months ago (2013-01-31 21:41:09 UTC) #4
michaeln
Dusting off that mac involved updating the OS to mountain lion :) Here's the first ...
7 years, 10 months ago (2013-02-02 02:26:45 UTC) #5
kinuko
https://codereview.chromium.org/12084077/diff/6008/content/common/fileapi/webfilesystem_impl.h File content/common/fileapi/webfilesystem_impl.h (right): https://codereview.chromium.org/12084077/diff/6008/content/common/fileapi/webfilesystem_impl.h#newcode64 content/common/fileapi/webfilesystem_impl.h:64: WebKit::WebFileSystemCallbacks*); On 2013/01/31 21:41:10, michaeln wrote: > > is ...
7 years, 10 months ago (2013-02-04 06:16:52 UTC) #6
michaeln
@yzshen for pepper owners
7 years, 10 months ago (2013-02-04 23:00:24 UTC) #7
michaeln
@brettw for pepper owners (since yshen is out sick)
7 years, 10 months ago (2013-02-05 01:13:02 UTC) #8
brettw
lgtm https://codereview.chromium.org/12084077/diff/52001/content/renderer/pepper/pepper_file_io_host.cc File content/renderer/pepper/pepper_file_io_host.cc (right): https://codereview.chromium.org/12084077/diff/52001/content/renderer/pepper/pepper_file_io_host.cc#newcode66 content/renderer/pepper/pepper_file_io_host.cc:66: const FilePath& platform_path) OVERRIDE { Use base:: for ...
7 years, 10 months ago (2013-02-07 04:52:58 UTC) #9
michaeln
thnx for looking brett, base::FilePath changes are done
7 years, 10 months ago (2013-02-13 00:47:09 UTC) #10
michaeln
On 2013/02/13 00:47:09, michaeln wrote: > thnx for looking brett, base::FilePath changes are done Bah... ...
7 years, 10 months ago (2013-02-13 01:08:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/12084077/60007
7 years, 10 months ago (2013-02-13 01:17:42 UTC) #12
commit-bot: I haz the power
Presubmit check for 12084077-60007 failed and returned exit status 1. INFO:root:Found 17 file(s). Running presubmit ...
7 years, 10 months ago (2013-02-13 01:17:52 UTC) #13
michaeln
That's odd, i'm listed as an OWNER of that directory? I'll stick with gcl commit ...
7 years, 10 months ago (2013-02-13 01:39:48 UTC) #14
kinuko
*_messages.h files seem to need further security review. (By the reviewers listed in OWNERS with ...
7 years, 10 months ago (2013-02-13 03:24:24 UTC) #15
brettw
On Tue, Feb 12, 2013 at 5:08 PM, <michaeln@chromium.org> wrote: > On 2013/02/13 00:47:09, michaeln ...
7 years, 10 months ago (2013-02-13 04:41:35 UTC) #16
michaeln
@cevans, can you take a look at the _messages.h file per OWNERS
7 years, 10 months ago (2013-02-13 22:47:52 UTC) #17
Chris Evans
[+aedla] -- I think @aedla recently audited this area, so maybe he would have solid ...
7 years, 10 months ago (2013-02-13 23:00:33 UTC) #18
michaeln
https://codereview.chromium.org/12084077/diff/60007/content/common/fileapi/file_system_messages.h File content/common/fileapi/file_system_messages.h (right): https://codereview.chromium.org/12084077/diff/60007/content/common/fileapi/file_system_messages.h#newcode38 content/common/fileapi/file_system_messages.h:38: IPC_MESSAGE_CONTROL3(FileSystemMsg_DidCreateSnapshotFile, @aedla, in some cases where the existing FileSystemMsg_DidReadMetadata ...
7 years, 10 months ago (2013-02-14 01:46:27 UTC) #19
aedla
Changes to IPC LGTM. New messages are pretty much like the old. A blob is ...
7 years, 10 months ago (2013-02-14 14:53:03 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/12084077/57011
7 years, 10 months ago (2013-02-15 00:55:46 UTC) #21
commit-bot: I haz the power
Presubmit check for 12084077-57011 failed and returned exit status 1. INFO:root:Found 18 file(s). Running presubmit ...
7 years, 10 months ago (2013-02-15 00:55:57 UTC) #22
Chris Evans
On 2013/02/15 00:55:57, I haz the power (commit-bot) wrote: > Presubmit check for 12084077-57011 failed ...
7 years, 10 months ago (2013-02-15 01:01:23 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/12084077/57011
7 years, 10 months ago (2013-02-15 01:47:01 UTC) #24
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=11104
7 years, 10 months ago (2013-02-15 10:00:58 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/12084077/57011
7 years, 10 months ago (2013-02-15 21:06:10 UTC) #26
commit-bot: I haz the power
7 years, 10 months ago (2013-02-15 21:07:59 UTC) #27
Message was sent while issue was closed.
Change committed as 182822

Powered by Google App Engine
This is Rietveld 408576698