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

Issue 2836163003: Stop offline page resource throttle from intercepting non http(s) urls (Closed)

Created:
3 years, 8 months ago by qinmin
Modified:
3 years, 8 months ago
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop offline page resource throttle from intercepting non http(s) urls offline_page_model.cc doesn't handle non http(s) urls. As a result, there is no point for the resource throttle to intercept the request. BUG=713309 Review-Url: https://codereview.chromium.org/2836163003 Cr-Commit-Position: refs/heads/master@{#467356} Committed: https://chromium.googlesource.com/chromium/src/+/6b48b5c45ce1ee5396f157999fc46082f2b7622b

Patch Set 1 #

Total comments: 5

Patch Set 2 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M chrome/browser/android/offline_pages/downloads/resource_throttle.cc View 1 2 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
qinmin
PTAL
3 years, 8 months ago (2017-04-24 21:00:33 UTC) #2
David Trainor- moved to gerrit
https://codereview.chromium.org/2836163003/diff/1/chrome/browser/android/offline_pages/downloads/resource_throttle.cc File chrome/browser/android/offline_pages/downloads/resource_throttle.cc (right): https://codereview.chromium.org/2836163003/diff/1/chrome/browser/android/offline_pages/downloads/resource_throttle.cc#newcode60 chrome/browser/android/offline_pages/downloads/resource_throttle.cc:60: if (CanDownloadAsOfflinePage(mime_type)) { Would it be cleaner to bake ...
3 years, 8 months ago (2017-04-25 03:31:17 UTC) #3
Dmitry Titov
https://codereview.chromium.org/2836163003/diff/1/chrome/browser/android/offline_pages/downloads/resource_throttle.cc File chrome/browser/android/offline_pages/downloads/resource_throttle.cc (right): https://codereview.chromium.org/2836163003/diff/1/chrome/browser/android/offline_pages/downloads/resource_throttle.cc#newcode51 chrome/browser/android/offline_pages/downloads/resource_throttle.cc:51: if (request_->url_chain().empty()) URLRequest is constructed with at least one ...
3 years, 8 months ago (2017-04-25 07:03:01 UTC) #4
qinmin
https://codereview.chromium.org/2836163003/diff/1/chrome/browser/android/offline_pages/downloads/resource_throttle.cc File chrome/browser/android/offline_pages/downloads/resource_throttle.cc (right): https://codereview.chromium.org/2836163003/diff/1/chrome/browser/android/offline_pages/downloads/resource_throttle.cc#newcode51 chrome/browser/android/offline_pages/downloads/resource_throttle.cc:51: if (request_->url_chain().empty()) On 2017/04/25 07:03:01, Dmitry Titov wrote: > ...
3 years, 8 months ago (2017-04-25 18:52:46 UTC) #5
David Trainor- moved to gerrit
lgtm
3 years, 8 months ago (2017-04-26 16:05:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2836163003/20001
3 years, 8 months ago (2017-04-26 16:23:40 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 17:12:12 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6b48b5c45ce1ee5396f157999fc4...

Powered by Google App Engine
This is Rietveld 408576698