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

Issue 2609713002: [Offline pages] Completely remove offliner factory. (Closed)

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

Description

[Offline pages] Completely remove offliner factory. BUG= Review-Url: https://codereview.chromium.org/2609713002 Cr-Commit-Position: refs/heads/master@{#442639} Committed: https://chromium.googlesource.com/chromium/src/+/1f59c91a97dad5a9061d4b755544ade9f3af58a0

Patch Set 1 #

Total comments: 4

Patch Set 2 : test import fix #

Patch Set 3 : add TODO #

Total comments: 2

Patch Set 4 : rename #

Patch Set 5 : rebase update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -302 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
D chrome/browser/android/offline_pages/background_loader_offliner_factory.h View 1 chunk +0 lines, -40 lines 0 comments Download
D chrome/browser/android/offline_pages/background_loader_offliner_factory.cc View 1 chunk +0 lines, -36 lines 0 comments Download
M chrome/browser/android/offline_pages/evaluation/offline_page_evaluation_bridge.cc View 2 chunks +5 lines, -4 lines 0 comments Download
D chrome/browser/android/offline_pages/prerendering_offliner_factory.h View 1 chunk +0 lines, -45 lines 0 comments Download
D chrome/browser/android/offline_pages/prerendering_offliner_factory.cc View 1 chunk +0 lines, -45 lines 0 comments Download
M chrome/browser/android/offline_pages/request_coordinator_factory.cc View 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/android/offline_pages/test_request_coordinator_builder.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M components/offline_pages/core/background/BUILD.gn View 2 chunks +0 lines, -3 lines 0 comments Download
D components/offline_pages/core/background/offliner_factory.h View 1 chunk +0 lines, -31 lines 0 comments Download
D components/offline_pages/core/background/offliner_factory_stub.h View 1 chunk +0 lines, -31 lines 0 comments Download
D components/offline_pages/core/background/offliner_factory_stub.cc View 1 chunk +0 lines, -22 lines 0 comments Download
M components/offline_pages/core/background/request_coordinator.h View 1 2 3 6 chunks +3 lines, -13 lines 0 comments Download
M components/offline_pages/core/background/request_coordinator.cc View 1 2 3 4 5 chunks +6 lines, -13 lines 0 comments Download
M components/offline_pages/core/background/request_coordinator_unittest.cc View 1 2 3 4 2 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 43 (27 generated)
chili
Per discussion regarding the offliner factories, this is a CL that removes all of it. ...
3 years, 11 months ago (2017-01-01 00:59:43 UTC) #2
dougarnett
I have some vague recollection that the deferred construction was important - unfortunately I don't ...
3 years, 11 months ago (2017-01-03 17:04:07 UTC) #3
Pete Williamson
lgtm Like DougArnett, I also have a vague recollection that we needed it, but I'm ...
3 years, 11 months ago (2017-01-03 20:48:15 UTC) #4
Dmitry Titov
https://codereview.chromium.org/2609713002/diff/1/components/offline_pages/core/background/request_coordinator.h File components/offline_pages/core/background/request_coordinator.h (right): https://codereview.chromium.org/2609713002/diff/1/components/offline_pages/core/background/request_coordinator.h#newcode72 components/offline_pages/core/background/request_coordinator.h:72: std::unique_ptr<Offliner> factory, nit: factory -> offliner https://codereview.chromium.org/2609713002/diff/40001/chrome/browser/android/offline_pages/request_coordinator_factory.cc File chrome/browser/android/offline_pages/request_coordinator_factory.cc ...
3 years, 11 months ago (2017-01-06 02:30:44 UTC) #11
dougarnett
not lgtm Before landing, this CL needs to be able to successfully background load a ...
3 years, 11 months ago (2017-01-06 22:27:42 UTC) #12
dougarnett
lgtm Turns out I needed to get Play Services updated to work with more recent ...
3 years, 11 months ago (2017-01-06 23:28:39 UTC) #13
Dmitry Titov
On 2017/01/03 17:04:07, dougarnett wrote: > I have some vague recollection that the deferred construction ...
3 years, 11 months ago (2017-01-06 23:29:04 UTC) #14
Dmitry Titov
On 2017/01/06 23:29:04, Dmitry Titov wrote: > On 2017/01/03 17:04:07, dougarnett wrote: > > I ...
3 years, 11 months ago (2017-01-07 00:11:22 UTC) #15
chromium-reviews
Not sure of much benefit then. For true background loading, we might not need to ...
3 years, 11 months ago (2017-01-07 00:19:53 UTC) #16
Dmitry Titov
On 2017/01/07 00:19:53, chromium-reviews wrote: > Not sure of much benefit then. For true background ...
3 years, 11 months ago (2017-01-07 01:03:54 UTC) #17
chili
Thanks for taking a look! And thanks Doug for helping me run a manual test ...
3 years, 11 months ago (2017-01-09 18:08:20 UTC) #25
Dmitry Titov
> > Neither of both offliners ever use 'policy' constructor parameter. Would be > nice ...
3 years, 11 months ago (2017-01-09 18:25:55 UTC) #26
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/2609713002/80001
3 years, 11 months ago (2017-01-09 20:23:55 UTC) #31
commit-bot: I haz the power
Failed to apply patch for chrome/browser/BUILD.gn: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-09 20:41:17 UTC) #33
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/2609713002/100001
3 years, 11 months ago (2017-01-10 18:00:52 UTC) #40
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 18:50:07 UTC) #43
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/1f59c91a97dad5a9061d4b755544...

Powered by Google App Engine
This is Rietveld 408576698