summaryrefslogtreecommitdiffstats
path: root/webkit/glue/weburlloader_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* Update refernces to Blink's Platform API (webkit)abarth@chromium.org2013-05-301-1/+1
| | | | | | | | | | | | | | These headers have moved from Source/Platform/chromium/public to public/platform. This CL updates src/webkit's references to the old location to point to the new location. After this CL lands, I'll remove the forwarding headers that are letting these references still work. TBR=jamesr@chromium.org BUG=239545 Review URL: https://chromiumcodereview.appspot.com/15937016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203020 0039d316-1c4b-4281-b951-d872f2087c98
* Update Platform calls to create a cancellation error.japhet@chromium.org2013-04-251-0/+3
| | | | | | | | | | | | These are unused at the moment, they will become active with https://codereview.chromium.org/14264012 BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/14297018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196530 0039d316-1c4b-4281-b951-d872f2087c98
* Add a ResourceScheduler to ResourceDispatcherHost.simonjam@chromium.org2013-02-271-0/+1
| | | | | | | | | | | | | | | | | | For this CL, ResourceScheduler mimicks WebKit's ResourceLoadScheduler. That means only JS and CSS are loaded before first paint. Eventually, we will improve it to do things like: - Lower priority of background tabs. - Preconnect for low priority resources. - Dynamically adapt scheduling to the user's connection. - Experiment with other scheduling ideas. BUG=157763 Review URL: https://chromiumcodereview.appspot.com/12330060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184809 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 183382 - broke gmailsimonjam@chromium.org2013-02-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | > Add a ResourceScheduler to ResourceDispatcherHost. > > For this CL, ResourceScheduler mimicks WebKit's ResourceLoadScheduler. That means only JS and CSS are loaded before first paint. > > Eventually, we will improve it to do things like: > - Lower priority of background tabs. > - Preconnect for low priority resources. > - Dynamically adapt scheduling to the user's connection. > - Experiment with other scheduling ideas. > > BUG=157763 > > > Review URL: https://chromiumcodereview.appspot.com/11270027 TBR=simonjam@chromium.org Review URL: https://codereview.chromium.org/12315036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183846 0039d316-1c4b-4281-b951-d872f2087c98
* Add a ResourceScheduler to ResourceDispatcherHost.simonjam@chromium.org2013-02-201-0/+1
| | | | | | | | | | | | | | | | | For this CL, ResourceScheduler mimicks WebKit's ResourceLoadScheduler. That means only JS and CSS are loaded before first paint. Eventually, we will improve it to do things like: - Lower priority of background tabs. - Preconnect for low priority resources. - Dynamically adapt scheduling to the user's connection. - Experiment with other scheduling ideas. BUG=157763 Review URL: https://chromiumcodereview.appspot.com/11270027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183382 0039d316-1c4b-4281-b951-d872f2087c98
* Update some #includes in webkit/glue for headers in the new Platform directorypilgrim@chromium.org2013-01-151-1/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11886036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176922 0039d316-1c4b-4281-b951-d872f2087c98
* Remove magic iframe load transfer support.dimich@chromium.org2012-06-131-3/+1
| | | | | | | | | Basically manual revert of r97048, due to files changing locations etc. Review URL: https://chromiumcodereview.appspot.com/9922001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141841 0039d316-1c4b-4281-b951-d872f2087c98
* Update these includes to use the new header locationsabarth@chromium.org2011-12-031-1/+1
| | | | | | | TBR=darin Review URL: http://codereview.chromium.org/8787003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112824 0039d316-1c4b-4281-b951-d872f2087c98
* Add exports needed for glue to build as a component.dpranke@chromium.org2011-12-021-1/+2
| | | | | | | | | | | | | This adds WEBKIT_GLUE_EXPORT, WEBKIT_PLUGINS_EXPORT, and WEBKIT_EXTENSIONS_EXPORT macros that are used by the files in webkit/{glue,plugins,extensions} to show what needs to be exported from a DLL. R=darin@chromium.org BUG=98755 TEST=waterfall stays green. Review URL: http://codereview.chromium.org/8741006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112748 0039d316-1c4b-4281-b951-d872f2087c98
* Move some webkit_glue embedder functions into WebKitPlatformSupport virtual ↵piman@chromium.org2011-11-221-1/+4
| | | | | | | | | | | | | methods This moves the functions into a pattern that is component-friendly. BUG=98755 TEST=chrome test_shell test_shell_tests browser_tests DumpRenderTree Review URL: http://codereview.chromium.org/8602002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111101 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 97048 - Update routing id of pending resource requests for reparented ↵rvargas@google.com2011-08-171-3/+5
| | | | | | | | | | | | | | iframes. BUG=55200 TEST=MagicIframeBrowserTest.TransferIframeCloseWindow Review URL: http://codereview.chromium.org/7647003 TBR=rvargas@google.com Review URL: http://codereview.chromium.org/7669009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97078 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97048 - Trying to see if this is related with arvargas@google.com2011-08-171-5/+3
| | | | | | | | | | | | | | | | sync_integration_test crash on MacOS. Update routing id of pending resource requests for reparented iframes. BUG=55200 TEST=MagicIframeBrowserTest.TransferIframeCloseWindow Review URL: http://codereview.chromium.org/7647003 TBR=dimich@chromium.org Review URL: http://codereview.chromium.org/7627003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97072 0039d316-1c4b-4281-b951-d872f2087c98
* Update routing id of pending resource requests for reparented iframes.dimich@chromium.org2011-08-161-3/+5
| | | | | | | | | BUG=55200 TEST=MagicIframeBrowserTest.TransferIframeCloseWindow Review URL: http://codereview.chromium.org/7647003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97048 0039d316-1c4b-4281-b951-d872f2087c98
* Virtual destructors should have virtual keyword.hans@chromium.org2011-05-251-1/+1
| | | | | | | | | | | | | | | | | Make sure user-declared virtual destructors always have the virtual keyword. The Clang style-check plugin will check for this soon. No functionality change: virtual is only added to destructors that are already implicitly virtual. Also fix a couple of in-line destructor definitions. BUG=83408 TEST=none Review URL: http://codereview.chromium.org/7064033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86587 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPS past WebKit move. Update gyp files and include paths to ↵abarth@chromium.org2011-01-171-1/+1
| | | | | | reflect the move. Consolidate how we DEPS in WebKit source files. Cross fingers. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71586 0039d316-1c4b-4281-b951-d872f2087c98
* Upstreaming WebKit.gypyaar@chromium.org2009-11-121-1/+1
| | | | | | | | | | | | This mega patch contains a few simple but tightly dependent changes: 1. Deletion of webkit/api/WebKit.gyp. The file now lives in webkit.org. 2. Rename of webkit/webkit.gyp to webkit/webkit_glue.gyp. Having two webkit.gyp was a source of developer confusion. 3. Gyp dependencies are updated across chromium to point at the upstream WebKit.gyp and the renamed webkit_glue.gyp. 4. Some 200+ files include paths fixed to point to third_party/WebKit/WebKit/chromium instead of webkit/api. The later will be deleted in a subsequent patch. Review URL: http://codereview.chromium.org/387020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31749 0039d316-1c4b-4281-b951-d872f2087c98
* Fix javascript-backslash.html layout test failure.darin@chromium.org2009-06-111-28/+4
| | | | | | | | | | | | | | | | The fix is to break WebURLLoaderImpl into two classes. It now has a reference counted inner class that is the ResourceLoaderBridge::Peer. This change allows the inner class to stick around after the loader has been destroyed. That is necessary since the Peer expects to still receive OnCompletedRequest after it calls Cancel on the bridge. R=dglazkov TEST=covered by layout test BUG=13786 Review URL: http://codereview.chromium.org/125002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18215 0039d316-1c4b-4281-b951-d872f2087c98
* Start using WebURLLoader, et. al. from the WebKit API.darin@chromium.org2009-06-091-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | Moves our ResourceHandle to webkit/api/src/ResourceHandle.cpp from webkit/glue/resource_handle_impl.cc. A portion of resource_handle_impl.cc was moved into weburlloader_impl.{h,cc}, which now contains our implementation of WebURLLoader. The annoying parts of this CL involve WebPluginImpl. I had to convert it over to using WebURLLoader instead of ResourceHandle so that MultipartResourceDelegate can be shared. There is some complexity in WebURLRequest / WebURLResponse to make it cheap to wrap a ResourceRequest / ResourceResponse. I think this is worth it since there is a lot of conversion between the two types. Originally reviewed here: http://codereview.chromium.org/113928 BUG=10038 TEST=covered by existing tests R=dglazkov Review URL: http://codereview.chromium.org/118438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17962 0039d316-1c4b-4281-b951-d872f2087c98
* Revert WebURLLoader landing. Too many layout test failures.darin@chromium.org2009-05-301-61/+0
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/115973 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17293 0039d316-1c4b-4281-b951-d872f2087c98
* Start using WebURLLoader, et. al. from the WebKit API.darin@chromium.org2009-05-301-0/+61
Moves our ResourceHandle to webkit/api/src/ResourceHandle.cpp from webkit/glue/resource_handle_impl.cc. A portion of resource_handle_impl.cc was moved into weburlloader_impl.{h,cc}, which now contains our implementation of WebURLLoader. The annoying parts of this CL involve WebPluginImpl. I had to convert it over to using WebURLLoader instead of ResourceHandle so that MultipartResourceDelegate can be shared. There is some complexity in WebURLRequest / WebURLResponse to make it cheap to wrap a ResourceRequest / ResourceResponse. I think this is worth it since there is a lot of conversion between the two types. BUG=10038 TEST=covered by existing tests R=dglazkov Review URL: http://codereview.chromium.org/113928 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17290 0039d316-1c4b-4281-b951-d872f2087c98