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

Issue 2481443002: Implementation (cc file) for background loader contents. (Closed)

Created:
4 years, 1 month ago by chili
Modified:
4 years, 1 month ago
CC:
chromium-reviews, chili+watch_chromium.org, fgorski+watch_chromium.org, romax+watch_chromium.org, jam, petewil+watch_chromium.org, dewittj+watch_chromium.org, darin-cc_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implementation (cc file) for background loader contents. BUG=659414 Committed: https://crrev.com/2e25132b6341e45f1704e9f1ea39d14c121273fe Cr-Commit-Position: refs/heads/master@{#433393}

Patch Set 1 #

Patch Set 2 : Format and build #

Total comments: 16

Patch Set 3 : code review #

Patch Set 4 : code review comments and tests #

Patch Set 5 : remove unneeded dep from tests #

Total comments: 2

Patch Set 6 : code review and rebase #

Patch Set 7 : rebase-update, since there seem to be unrelated iOS issues before #

Patch Set 8 : only run tests on non-iOS #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -1 line) Patch
M components/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A components/offline_pages/content/background_loader/BUILD.gn View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M components/offline_pages/content/background_loader/background_loader_contents.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
A components/offline_pages/content/background_loader/background_loader_contents.cc View 1 2 3 4 5 1 chunk +120 lines, -0 lines 0 comments Download
A components/offline_pages/content/background_loader/background_loader_contents_unittest.cc View 1 2 3 1 chunk +147 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (20 generated)
chili
Not sure if this can be tested; None of the other web contents delegates have ...
4 years, 1 month ago (2016-11-07 23:41:22 UTC) #2
Dmitry Titov
Nice! For testing, does anything in src/content/public/test work? There is a TestBrowserContext, TestWebContents etc... https://codereview.chromium.org/2481443002/diff/20001/components/offline_pages/content/background_loader/background_loader_contents.cc ...
4 years, 1 month ago (2016-11-08 00:07:18 UTC) #3
dewittj
nice! https://codereview.chromium.org/2481443002/diff/20001/components/offline_pages/content/background_loader/BUILD.gn File components/offline_pages/content/background_loader/BUILD.gn (right): https://codereview.chromium.org/2481443002/diff/20001/components/offline_pages/content/background_loader/BUILD.gn#newcode9 components/offline_pages/content/background_loader/BUILD.gn:9: static_library("background_loader") { do we want this to be ...
4 years, 1 month ago (2016-11-08 00:16:39 UTC) #4
Pete Williamson
Good to see this going in! https://codereview.chromium.org/2481443002/diff/20001/components/offline_pages/content/background_loader/background_loader_contents.cc File components/offline_pages/content/background_loader/background_loader_contents.cc (right): https://codereview.chromium.org/2481443002/diff/20001/components/offline_pages/content/background_loader/background_loader_contents.cc#newcode26 components/offline_pages/content/background_loader/background_loader_contents.cc:26: void BackgroundLoaderContents::CloseContents(content::WebContents* source) ...
4 years, 1 month ago (2016-11-08 01:33:43 UTC) #5
dougarnett
https://codereview.chromium.org/2481443002/diff/20001/components/offline_pages/content/background_loader/background_loader_contents.cc File components/offline_pages/content/background_loader/background_loader_contents.cc (right): https://codereview.chromium.org/2481443002/diff/20001/components/offline_pages/content/background_loader/background_loader_contents.cc#newcode36 components/offline_pages/content/background_loader/background_loader_contents.cc:36: return true; I wonder if it would be helpful ...
4 years, 1 month ago (2016-11-08 17:09:41 UTC) #6
chili
Updated per comments and added tests. There are no tests for Cancel and LoadURL, as ...
4 years, 1 month ago (2016-11-10 22:05:08 UTC) #7
dewittj
https://codereview.chromium.org/2481443002/diff/20001/components/offline_pages/content/background_loader/BUILD.gn File components/offline_pages/content/background_loader/BUILD.gn (right): https://codereview.chromium.org/2481443002/diff/20001/components/offline_pages/content/background_loader/BUILD.gn#newcode9 components/offline_pages/content/background_loader/BUILD.gn:9: static_library("background_loader") { On 2016/11/10 22:05:07, chili wrote: > On ...
4 years, 1 month ago (2016-11-14 16:36:36 UTC) #8
dougarnett
lgtm https://codereview.chromium.org/2481443002/diff/20001/components/offline_pages/content/background_loader/background_loader_contents.cc File components/offline_pages/content/background_loader/background_loader_contents.cc (right): https://codereview.chromium.org/2481443002/diff/20001/components/offline_pages/content/background_loader/background_loader_contents.cc#newcode36 components/offline_pages/content/background_loader/background_loader_contents.cc:36: return true; On 2016/11/10 22:05:08, chili wrote: > ...
4 years, 1 month ago (2016-11-14 20:12:16 UTC) #9
Pete Williamson
lgtm
4 years, 1 month ago (2016-11-15 01:24:46 UTC) #10
chili
Thanks for all the comments! :) https://codereview.chromium.org/2481443002/diff/80001/components/offline_pages/content/background_loader/background_loader_contents.cc File components/offline_pages/content/background_loader/background_loader_contents.cc (right): https://codereview.chromium.org/2481443002/diff/80001/components/offline_pages/content/background_loader/background_loader_contents.cc#newcode40 components/offline_pages/content/background_loader/background_loader_contents.cc:40: // Do nothing. ...
4 years, 1 month ago (2016-11-15 02:02:22 UTC) #11
Dmitry Titov
lgtm, thanks!
4 years, 1 month ago (2016-11-15 02:45:03 UTC) #12
dewittj1
On 2016/11/15 02:45:03, Dmitry Titov wrote: > lgtm, thanks! LGTM!
4 years, 1 month ago (2016-11-15 05:05:55 UTC) #17
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/2481443002/120001
4 years, 1 month ago (2016-11-16 22:32:38 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/107160)
4 years, 1 month ago (2016-11-16 22:44:09 UTC) #22
chili
+blundell for components/BUILD.gn owners
4 years, 1 month ago (2016-11-17 19:01:29 UTC) #26
blundell
//components/BUILD.gn lgtm
4 years, 1 month ago (2016-11-18 08:22:10 UTC) #29
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/2481443002/160001
4 years, 1 month ago (2016-11-19 03:42:39 UTC) #36
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 1 month ago (2016-11-19 03:47:32 UTC) #37
commit-bot: I haz the power
4 years, 1 month ago (2016-11-19 03:49:51 UTC) #39
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/2e25132b6341e45f1704e9f1ea39d14c121273fe
Cr-Commit-Position: refs/heads/master@{#433393}

Powered by Google App Engine
This is Rietveld 408576698