summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/extensions/extension_localization_peer.h
Commit message (Collapse)AuthorAgeFilesLines
* Plumb redirect info out of net, through content, and into child processes.davidben@chromium.org2014-08-151-2/+1
| | | | | | | | | | | | | This saves the logic in PluginURLFetcher and WebURLLoader that has to replicate the method-munging, referrer-munging, and first-party-URL-munging logic that is already done in net/. BUG=384609 Review URL: https://codereview.chromium.org/398903002 Cr-Commit-Position: refs/heads/master@{#290005} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290005 0039d316-1c4b-4281-b951-d872f2087c98
* Move resource_response_info from webkit/ to content/pilgrim@chromium.org2014-05-281-4/+4
| | | | | | | | | BUG=338338 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/293353007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273095 0039d316-1c4b-4281-b951-d872f2087c98
* Move first-party cookie URL logic to browser process.davidben@chromium.org2014-05-141-4/+4
| | | | | | | | | | | | | | | Rather than have the renderer decide the value and inform the browser, the browser decides and informs the render. This removes one piece of navigation request redirect policy that needs to come from the renderer. Redundant logic in Blink's DocumentLoader::willSendRequest to be removed in a follow-up. BUG=368813 Review URL: https://codereview.chromium.org/264613006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270463 0039d316-1c4b-4281-b951-d872f2087c98
* Extract Peer interface out of ResourceLoaderBridge.tfarina@chromium.org2014-04-031-24/+23
| | | | | | | | | | | | | | | | | This moves it into its own header file in content/public/child/request_delegate_peer.h As requested by John in - https://codereview.chromium.org/186193005/diff/1/content/public/child/resource_loader_bridge.h#newcode133 BUG=265753,338338,237249 TEST=content_unittests, unit_tests R=jam@chromium.org TBR=darin Review URL: https://codereview.chromium.org/218973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261323 0039d316-1c4b-4281-b951-d872f2087c98
* Extract SyncLoadResponse struct from ResourceLoaderBridge.tfarina@chromium.org2014-03-301-0/+1
| | | | | | | | | | | | | | | | And move it into content/child/sync_load_response.*. As requested by John in - https://codereview.chromium.org/186193005/diff/1/content/public/child/resource_loader_bridge.h#newcode111 BUG=265753, 338338, 237249 TEST=content_unittests R=jam@chromium.org TBR=darin Review URL: https://codereview.chromium.org/216913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260466 0039d316-1c4b-4281-b951-d872f2087c98
* Add transfer size paramater to didFinishLoading [2/3]eustas@chromium.org2014-02-101-1/+2
| | | | | | | | | | | | | | | | | | | Mini DD: https://docs.google.com/a/chromium.org/document/d/1kAKnBKofLc3Tex_JPveubwJcQLT3BhIL3xNQyjvRIps/edit?usp=sharing Most of files contain only signature changes. There are 3 non-trivial changes: 1) ResourceMsg_RequestComplete IPC message receives struct instead of distinct parameters. 2) Use URLRequest::GetTotalReceivedBytes instead of DevToolsNetLogObserver::GetAndResetEncodedDataLength 3) Remove unused code in DevToolsNetLogObserver. BUG=111052 Review URL: https://codereview.chromium.org/143263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250069 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb network stack information about existence of cached copyrdsmith@chromium.org2014-02-061-0/+1
| | | | | | | | | | | | | | | | | | | through to error page. Specifically, add a "stale_copy_in_cache" argument to all of (ordered from Browser->Renderer): * ResourceMsg_RequestComplete IPC message. * ResourceDispatcher::OnRequestComplete * ResourceLoaderBridge::Peer::OnCompletedRequest. * All subclasses of RLB::P::OnCompleted Request, including WebURLLoaderImpl::context::OnCompletedRequest. * Blink WebURLError and ResourceError classes (https://codereview.chromium.org/138493002). * LocalizedError::GetStrings. This is a paired commit with the blink CL https://codereview.chromium.org/138493002. That CL must be landed before this one. BUG=329620 Review URL: https://codereview.chromium.org/138513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249527 0039d316-1c4b-4281-b951-d872f2087c98
* Propagate the encoded data length through OnDownloadData delegate methodyusukesuzuki@chromium.org2013-09-031-1/+1
| | | | | | | | | | | | | | | | | | Since the encoded data length is intended to be used for the Inspector, it will only be valid while devtools are attached. Otherwise it becomes -1, -1 represents that the encoded data length is unknown. To propagate the encoded data length to Blink's didDownloadData delegate method, the IPC dispatcher provides it to Blink. Blink-side CL: https://chromiumcodereview.appspot.com/23632004/ After this change is landed, we'll remove the stub code in Blink-side. BUG=269055 Review URL: https://chromiumcodereview.appspot.com/23696002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221024 0039d316-1c4b-4281-b951-d872f2087c98
* reland crrev.com/212927 Move webkitplatformsupport_impl and related from ↵scottmg@chromium.org2013-07-231-1/+1
| | | | | | | | | | | | glue to child Win x64 warning suppression, and allocator dependency on linux for shared_library build compared to previous land. TBR=jam@chromium.org Review URL: https://codereview.chromium.org/20003004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213033 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 212927 "Move webkitplatformsupport_impl and related from ..."bryeung@chromium.org2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Move webkitplatformsupport_impl and related from glue to child > > Picking up Ananta's change. > > Move the webkitplatformsupport_impl.cc/.h files out of webkit\glue to > webkit\child. > > This requires moving the following files out of webkit\glue to webkit\child: > 1. weburlloader_impl.cc/.h > 2. weburlrequest_extradata_impl.cc/.h > 3. websocketstreamhandle_impl.cc/.h > 4. weburlresponse_extradata_impl.cc/.h > 5. websocketstreamhandle_delegate.h > 6. ftp_directory_listing_response_delegate.cc/.h > 7. multipart_response_delegate.cc/.h > 8. multipart_response_delegate_unittest.cc > 9. resource_loader_bridge.cc/.h > > The following files have been moved to webkit\common: > 2. resource_type.cc/.h > > Move MemoryUsageKB out of webkit_glue.cc/h to webkit/child/webkit_child_helpers. > > I added an include rule to content\common\DEPS to allow including > webkit\child\websocketstreamhandle_delegate.h. This will be removed in a > followup. > > TBR=jam@chromium.org, jamesr@chromium.org, jschuh@chromium.org > > BUG=237249 > > Review URL: https://codereview.chromium.org/19673002 TBR=scottmg@chromium.org Review URL: https://codereview.chromium.org/19888003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212933 0039d316-1c4b-4281-b951-d872f2087c98
* Move webkitplatformsupport_impl and related from glue to childscottmg@chromium.org2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Picking up Ananta's change. Move the webkitplatformsupport_impl.cc/.h files out of webkit\glue to webkit\child. This requires moving the following files out of webkit\glue to webkit\child: 1. weburlloader_impl.cc/.h 2. weburlrequest_extradata_impl.cc/.h 3. websocketstreamhandle_impl.cc/.h 4. weburlresponse_extradata_impl.cc/.h 5. websocketstreamhandle_delegate.h 6. ftp_directory_listing_response_delegate.cc/.h 7. multipart_response_delegate.cc/.h 8. multipart_response_delegate_unittest.cc 9. resource_loader_bridge.cc/.h The following files have been moved to webkit\common: 2. resource_type.cc/.h Move MemoryUsageKB out of webkit_glue.cc/h to webkit/child/webkit_child_helpers. I added an include rule to content\common\DEPS to allow including webkit\child\websocketstreamhandle_delegate.h. This will be removed in a followup. TBR=jam@chromium.org, jamesr@chromium.org, jschuh@chromium.org BUG=237249 Review URL: https://codereview.chromium.org/19673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212927 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome/common/extension_localization_peer.{h,cc} to chrome/renderer/darin@chromium.org2013-06-281-0/+83
BUG=237267 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/18172004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209226 0039d316-1c4b-4281-b951-d872f2087c98