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

Issue 879393002: Expire appcaches that fail to update for "too long". (Closed)

Created:
5 years, 10 months ago by michaeln
Modified:
5 years, 5 months ago
Reviewers:
palmer, jsbell
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expire appcaches that fail to update for "too long". BUG=413706 Committed: https://crrev.com/657a07754224a29a72461e11067b4ab2558d31ce Cr-Commit-Position: refs/heads/master@{#338196}

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 7

Patch Set 5 : #

Total comments: 12

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Total comments: 4

Patch Set 9 : #

Total comments: 3

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+710 lines, -319 lines) Patch
M content/browser/appcache/appcache_database.h View 1 2 3 4 5 6 7 8 9 5 chunks +23 lines, -9 lines 0 comments Download
M content/browser/appcache/appcache_database.cc View 1 2 3 4 5 6 7 8 9 34 chunks +165 lines, -107 lines 0 comments Download
M content/browser/appcache/appcache_database_unittest.cc View 1 2 3 4 5 15 chunks +233 lines, -148 lines 0 comments Download
M content/browser/appcache/appcache_group.h View 1 2 3 4 5 3 chunks +27 lines, -7 lines 0 comments Download
M content/browser/appcache/appcache_storage.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/appcache/appcache_storage_impl.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/appcache/appcache_storage_impl.cc View 1 2 3 4 5 5 chunks +52 lines, -0 lines 0 comments Download
M content/browser/appcache/appcache_update_job.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/appcache/appcache_update_job.cc View 1 2 3 4 5 6 13 chunks +127 lines, -44 lines 0 comments Download
M content/browser/appcache/appcache_update_job_unittest.cc View 1 2 3 4 5 6 7 8 17 chunks +66 lines, -4 lines 0 comments Download
M content/browser/appcache/mock_appcache_storage.h View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M content/browser/appcache/mock_appcache_storage.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (3 generated)
palmer
Sorry; somehow I didn't see this in my queue. Seems a reasonable approach. https://codereview.chromium.org/879393002/diff/1/content/browser/appcache/appcache.h File ...
5 years, 8 months ago (2015-04-21 19:56:34 UTC) #2
michaeln
https://codereview.chromium.org/879393002/diff/1/content/browser/appcache/appcache.h File content/browser/appcache/appcache.h (right): https://codereview.chromium.org/879393002/diff/1/content/browser/appcache/appcache.h#newcode110 content/browser/appcache/appcache.h:110: base::Time newest_successful_unconditional_update_check_time() { return base::Time(); } On 2015/04/21 19:56:34, ...
5 years, 8 months ago (2015-04-21 20:20:16 UTC) #3
palmer
Friendly ping. :)
5 years, 7 months ago (2015-05-08 18:23:47 UTC) #4
michaeln
still WIP but getting fleshed out
5 years, 7 months ago (2015-05-23 00:29:16 UTC) #5
michaeln
ptal, i haven't added tests yet but i'd like to get feedback on the production ...
5 years, 7 months ago (2015-05-27 20:23:56 UTC) #6
jsbell
looking good so far https://codereview.chromium.org/879393002/diff/60001/content/browser/appcache/appcache_database.cc File content/browser/appcache/appcache_database.cc (right): https://codereview.chromium.org/879393002/diff/60001/content/browser/appcache/appcache_database.cc#newcode428 content/browser/appcache/appcache_database.cc:428: sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); Does this ...
5 years, 7 months ago (2015-05-27 22:38:19 UTC) #7
michaeln
thnx, i'll look at tests next https://codereview.chromium.org/879393002/diff/60001/content/browser/appcache/appcache_database.cc File content/browser/appcache/appcache_database.cc (right): https://codereview.chromium.org/879393002/diff/60001/content/browser/appcache/appcache_database.cc#newcode428 content/browser/appcache/appcache_database.cc:428: sql::Statement statement(db_->GetCachedStatement(SQL_FROM_HERE, kSql)); ...
5 years, 7 months ago (2015-05-27 23:21:51 UTC) #8
michaeln
Added dbclass tests, but still need to add jobclass tests. Also, as coded, this will ...
5 years, 6 months ago (2015-05-29 01:24:51 UTC) #9
palmer
Thanks for working on this! Some minor nits for the moment. Let me know when ...
5 years, 6 months ago (2015-06-01 21:09:02 UTC) #10
michaeln
Ptal, added tests for the job class too. What should the two times values be? ...
5 years, 6 months ago (2015-06-19 21:38:20 UTC) #11
michaeln
https://codereview.chromium.org/879393002/diff/140001/content/browser/appcache/appcache_update_job_unittest.cc File content/browser/appcache/appcache_update_job_unittest.cc (right): https://codereview.chromium.org/879393002/diff/140001/content/browser/appcache/appcache_update_job_unittest.cc#newcode2825 content/browser/appcache/appcache_update_job_unittest.cc:2825: group_->set_last_full_update_check_time(base::Time::Now()); i don't think i need this line, if ...
5 years, 6 months ago (2015-06-22 23:39:47 UTC) #12
palmer
https://codereview.chromium.org/879393002/diff/120001/content/browser/appcache/appcache_database.h File content/browser/appcache/appcache_database.h (right): https://codereview.chromium.org/879393002/diff/120001/content/browser/appcache/appcache_database.h#newcode127 content/browser/appcache/appcache_database.h:127: // given invalid groupids. The return value only indicates ...
5 years, 6 months ago (2015-06-26 18:23:32 UTC) #13
palmer
LGTM with some nits. https://codereview.chromium.org/879393002/diff/140001/content/browser/appcache/appcache_database.cc File content/browser/appcache/appcache_database.cc (right): https://codereview.chromium.org/879393002/diff/140001/content/browser/appcache/appcache_database.cc#newcode405 content/browser/appcache/appcache_database.cc:405: const char* kSql = Nit: ...
5 years, 6 months ago (2015-06-26 20:41:27 UTC) #14
michaeln
On 2015/06/26 20:41:27, palmer wrote: > LGTM with some nits. > > https://codereview.chromium.org/879393002/diff/140001/content/browser/appcache/appcache_database.cc > File ...
5 years, 5 months ago (2015-06-29 23:51:43 UTC) #15
palmer
> done, done, and done Thanks! LGTM.
5 years, 5 months ago (2015-07-06 23:48:21 UTC) #16
michaeln
@jsbell, ptal
5 years, 5 months ago (2015-07-07 00:02:17 UTC) #17
jsbell
lgtm with comment nits https://codereview.chromium.org/879393002/diff/160001/content/browser/appcache/appcache_database.cc File content/browser/appcache/appcache_database.cc (right): https://codereview.chromium.org/879393002/diff/160001/content/browser/appcache/appcache_database.cc#newcode402 content/browser/appcache/appcache_database.cc:402: if (!LazyOpen(true)) Would be nice ...
5 years, 5 months ago (2015-07-07 00:18:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/879393002/180001
5 years, 5 months ago (2015-07-09 23:33:43 UTC) #21
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 5 months ago (2015-07-10 00:26:39 UTC) #22
commit-bot: I haz the power
5 years, 5 months ago (2015-07-10 00:28:00 UTC) #23
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/657a07754224a29a72461e11067b4ab2558d31ce
Cr-Commit-Position: refs/heads/master@{#338196}

Powered by Google App Engine
This is Rietveld 408576698