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

Issue 1485693002: PlzNavigate: make StreamPrivate API work (Closed)

Created:
5 years ago by clamy
Modified:
4 years, 2 months ago
Reviewers:
davidben
CC:
chromium-reviews, loading-reviews_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@downloads-fix
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: make StreamPrivate API work This CL enables the extensions Stream private API to work with PlzNavigate enabled. This fixes the MaterialPDFExtensionTests, PDFExtensionTests and StreamsPrivate API tests with browser-side-navigation enabled. BUG=504347

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -13 lines) Patch
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 4 chunks +20 lines, -10 lines 1 comment Download
M content/browser/loader/navigation_resource_handler.cc View 2 chunks +2 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 6 (2 generated)
clamy
@davidben: PTAL
5 years ago (2015-12-03 14:39:52 UTC) #3
davidben
Hrm. Does this quite work? This is all kind of horrific. As I understand, there's ...
5 years ago (2015-12-09 23:53:44 UTC) #4
davidben
On 2015/12/09 23:53:44, davidben (behind on reviews) wrote: > Hrm. Does this quite work? This ...
5 years ago (2015-12-09 23:54:30 UTC) #5
davidben
5 years ago (2015-12-09 23:56:49 UTC) #6
Oh, yet another option is to get some bool stapled to the ResourceRequestInfo
like request_was_intercepted() which means that , although you see
OnResponseStarted, it's really just kind of a legacy thing due to DevTools
plumbing and the request is going to get aborted immediately. And it would only
get set in the download and streamsPrivate cases, but not the mimeHandlerPrivate
case.

Powered by Google App Engine
This is Rietveld 408576698