Bug 70134

Summary: Cues should be loaded by the cached resource loader
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: annacc, ap, dglazkov, gustavo.noronha, gustavo, munna1991vikram, webkit-bug-importer, webkit.review.bot, xan.lopez
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 43668    
Attachments:
Description Flags
Part 1: Update CachedResourceLoader to load cues
none
Part 2: Implement the cue loader
none
Patch with ChangeLog
webkit.review.bot: commit-queue-
Add new file to other build systems. darin: review+

Eric Carlson
Reported 2011-10-14 12:44:50 PDT
Cues should be cached like other web resources so they should be loaded by a CachedResourceLoader
Attachments
Part 1: Update CachedResourceLoader to load cues (17.79 KB, patch)
2011-10-14 12:46 PDT, Eric Carlson
no flags
Part 2: Implement the cue loader (11.40 KB, patch)
2011-10-14 12:47 PDT, Eric Carlson
no flags
Patch with ChangeLog (19.72 KB, patch)
2011-10-15 23:06 PDT, Eric Carlson
webkit.review.bot: commit-queue-
Add new file to other build systems. (21.43 KB, patch)
2011-10-16 09:43 PDT, Eric Carlson
darin: review+
Radar WebKit Bug Importer
Comment 1 2011-10-14 12:45:03 PDT
Eric Carlson
Comment 2 2011-10-14 12:46:42 PDT
Created attachment 111056 [details] Part 1: Update CachedResourceLoader to load cues
Eric Carlson
Comment 3 2011-10-14 12:47:25 PDT
Created attachment 111057 [details] Part 2: Implement the cue loader
WebKit Review Bot
Comment 4 2011-10-14 13:38:59 PDT
Comment on attachment 111057 [details] Part 2: Implement the cue loader Attachment 111057 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/10060651
Eric Carlson
Comment 5 2011-10-14 13:45:18 PDT
(In reply to comment #4) > (From update of attachment 111057 [details]) > Attachment 111057 [details] did not pass chromium-ews (chromium-xvfb): > Output: http://queues.webkit.org/results/10060651 Part 2 depends on Part 1.
Collabora GTK+ EWS bot
Comment 6 2011-10-14 23:22:51 PDT
Comment on attachment 111057 [details] Part 2: Implement the cue loader Attachment 111057 [details] did not pass gtk-ews (gtk): Output: http://queues.webkit.org/results/10074211
Eric Carlson
Comment 7 2011-10-15 10:47:50 PDT
(In reply to comment #6) > (From update of attachment 111057 [details]) > Attachment 111057 [details] did not pass gtk-ews (gtk): > Output: http://queues.webkit.org/results/10074211 See comment #5.
Eric Carlson
Comment 8 2011-10-15 13:48:59 PDT
Comment on attachment 111057 [details] Part 2: Implement the cue loader Clearing flags, this won't compile without the other patch so I will create a new bug for this once the other changes land.
Eric Carlson
Comment 9 2011-10-15 23:06:47 PDT
Created attachment 111176 [details] Patch with ChangeLog
WebKit Review Bot
Comment 10 2011-10-15 23:42:44 PDT
Comment on attachment 111176 [details] Patch with ChangeLog Attachment 111176 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/10074465
Collabora GTK+ EWS bot
Comment 11 2011-10-16 00:12:15 PDT
Comment on attachment 111176 [details] Patch with ChangeLog Attachment 111176 [details] did not pass gtk-ews (gtk): Output: http://queues.webkit.org/results/10073548
Eric Carlson
Comment 12 2011-10-16 09:43:26 PDT
Created attachment 111181 [details] Add new file to other build systems.
Darin Adler
Comment 13 2011-10-17 12:01:37 PDT
Comment on attachment 111181 [details] Add new file to other build systems. View in context: https://bugs.webkit.org/attachment.cgi?id=111181&action=review > Source/WebCore/loader/cache/CachedCues.cpp:53 > + setEncodedSize(m_data.get() ? m_data->size() : 0); Should not need a "get" here. > Source/WebCore/loader/cache/CachedCues.cpp:56 > + while (CachedResourceClient *client = walker.next()) The "*" needs to be next to the type here. > Source/WebCore/loader/cache/CachedCues.h:43 > + virtual void data(PassRefPtr<SharedBuffer> data, bool allDataReceived); Can this be private?
Eric Carlson
Comment 14 2011-10-17 12:23:07 PDT
Eric Carlson
Comment 15 2011-10-17 12:23:42 PDT
(In reply to comment #13) > (From update of attachment 111181 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=111181&action=review > > > Source/WebCore/loader/cache/CachedCues.cpp:53 > > + setEncodedSize(m_data.get() ? m_data->size() : 0); > > Should not need a "get" here. > > > Source/WebCore/loader/cache/CachedCues.cpp:56 > > + while (CachedResourceClient *client = walker.next()) > > The "*" needs to be next to the type here. > > > Source/WebCore/loader/cache/CachedCues.h:43 > > + virtual void data(PassRefPtr<SharedBuffer> data, bool allDataReceived); > > Can this be private? I missed these comments, but will do the suggested cleanup in another patch.
Note You need to log in before you can comment on or make changes to this bug.