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

Issue 104593010: AppCache: Run a quick integrity check on the sqlite database when opening. (Closed)

Created:
7 years ago by michaeln
Modified:
7 years ago
CC:
chromium-reviews, darin-cc_chromium.org, browser-components-watch_chromium.org
Visibility:
Public.

Description

AppCache: Run a quick integrity check on the sqlite database when opening. If the test fails, delete the appcache directory and start afresh. NOTRY=true TBR=sky BUG=318544 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240937

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Total comments: 3

Patch Set 7 : #

Patch Set 8 : fixed clang error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -11 lines) Patch
M chrome/browser/history/thumbnail_database.cc View 1 chunk +1 line, -1 line 0 comments Download
M sql/connection.h View 1 2 3 2 chunks +14 lines, -5 lines 0 comments Download
M sql/connection.cc View 1 2 3 2 chunks +15 lines, -4 lines 0 comments Download
M sql/connection_unittest.cc View 1 2 3 4 5 6 7 1 chunk +44 lines, -0 lines 0 comments Download
M webkit/browser/appcache/appcache_database.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webkit/browser/appcache/appcache_database.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
webkit/browser/appcache/appcache_database_unittest.cc View 1 2 3 4 5 6 2 chunks +41 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
michaeln
hi scott, ptal
7 years ago (2013-12-05 23:21:54 UTC) #1
michaeln
i'm working on a unittest test for this
7 years ago (2013-12-06 00:14:08 UTC) #2
Scott Hess - ex-Googler
On 2013/12/06 00:14:08, michaeln wrote: > i'm working on a unittest test for this sql/test/test_helpers.h ...
7 years ago (2013-12-06 00:34:12 UTC) #3
Scott Hess - ex-Googler
On 2013/12/06 00:34:12, shess wrote: > On 2013/12/06 00:14:08, michaeln wrote: > > i'm working ...
7 years ago (2013-12-06 00:35:00 UTC) #4
Scott Hess - ex-Googler
I don't know enough about how AppCache works to answer this myself, so I'll ask ...
7 years ago (2013-12-06 00:44:00 UTC) #5
michaeln
Added a test. (A file containing "deadbeef" actually opens :) > I don't know enough ...
7 years ago (2013-12-06 02:45:40 UTC) #6
Scott Hess - ex-Googler
On 2013/12/06 02:45:40, michaeln wrote: > Added a test. (A file containing "deadbeef" actually opens ...
7 years ago (2013-12-06 19:59:58 UTC) #7
michaeln
> I'll poke at the packaging tomorrow too. Done > That probably implies that an ...
7 years ago (2013-12-09 19:12:55 UTC) #8
michaeln
https://codereview.chromium.org/104593010/diff/30001/chrome/browser/history/thumbnail_database.cc File chrome/browser/history/thumbnail_database.cc (right): https://codereview.chromium.org/104593010/diff/30001/chrome/browser/history/thumbnail_database.cc#newcode143 chrome/browser/history/thumbnail_database.cc:143: db->FullIntegrityCheck(&messages); ooops, have to check the return value here
7 years ago (2013-12-09 19:15:50 UTC) #9
Scott Hess - ex-Googler
https://codereview.chromium.org/104593010/diff/30001/chrome/browser/history/thumbnail_database.cc File chrome/browser/history/thumbnail_database.cc (right): https://codereview.chromium.org/104593010/diff/30001/chrome/browser/history/thumbnail_database.cc#newcode143 chrome/browser/history/thumbnail_database.cc:143: db->FullIntegrityCheck(&messages); On 2013/12/09 19:15:51, michaeln wrote: > ooops, have ...
7 years ago (2013-12-09 20:27:27 UTC) #10
michaeln
> IMHO, nobody but diagnostics tools are going to want the actual messages. I > ...
7 years ago (2013-12-09 21:58:53 UTC) #11
michaeln
On 2013/12/09 21:58:53, michaeln wrote: > > IMHO, nobody but diagnostics tools are going to ...
7 years ago (2013-12-13 19:48:16 UTC) #12
Scott Hess - ex-Googler
https://codereview.chromium.org/104593010/diff/70001/webkit/browser/appcache/appcache_database_unittest.cc File webkit/browser/appcache/appcache_database_unittest.cc (right): https://codereview.chromium.org/104593010/diff/70001/webkit/browser/appcache/appcache_database_unittest.cc#newcode81 webkit/browser/appcache/appcache_database_unittest.cc:81: // to the consumer so we can test the ...
7 years ago (2013-12-13 20:03:45 UTC) #13
michaeln
https://codereview.chromium.org/104593010/diff/70001/webkit/browser/appcache/appcache_database_unittest.cc File webkit/browser/appcache/appcache_database_unittest.cc (right): https://codereview.chromium.org/104593010/diff/70001/webkit/browser/appcache/appcache_database_unittest.cc#newcode81 webkit/browser/appcache/appcache_database_unittest.cc:81: // to the consumer so we can test the ...
7 years ago (2013-12-13 22:46:04 UTC) #14
michaeln
https://codereview.chromium.org/104593010/diff/90001/sql/connection_unittest.cc File sql/connection_unittest.cc (right): https://codereview.chromium.org/104593010/diff/90001/sql/connection_unittest.cc#newcode825 sql/connection_unittest.cc:825: TEST_F(SQLConnectionTest, Basic_QuickIntegrityCheck) { Also, added some basic tests for ...
7 years ago (2013-12-13 22:47:04 UTC) #15
Scott Hess - ex-Googler
https://codereview.chromium.org/104593010/diff/70001/webkit/browser/appcache/appcache_database_unittest.cc File webkit/browser/appcache/appcache_database_unittest.cc (right): https://codereview.chromium.org/104593010/diff/70001/webkit/browser/appcache/appcache_database_unittest.cc#newcode81 webkit/browser/appcache/appcache_database_unittest.cc:81: // to the consumer so we can test the ...
7 years ago (2013-12-13 23:15:45 UTC) #16
michaeln
starting some tryjobs... https://codereview.chromium.org/104593010/diff/70001/webkit/browser/appcache/appcache_database_unittest.cc File webkit/browser/appcache/appcache_database_unittest.cc (right): https://codereview.chromium.org/104593010/diff/70001/webkit/browser/appcache/appcache_database_unittest.cc#newcode81 webkit/browser/appcache/appcache_database_unittest.cc:81: // to the consumer so we ...
7 years ago (2013-12-13 23:57:00 UTC) #17
michaeln
Fixed the clang error and started some new tryjobs... ptal
7 years ago (2013-12-14 01:27:29 UTC) #18
Scott Hess - ex-Googler
lgtm
7 years ago (2013-12-14 16:40:29 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/104593010/130001
7 years ago (2013-12-16 00:40:54 UTC) #20
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=41512
7 years ago (2013-12-16 00:55:26 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/104593010/130001
7 years ago (2013-12-16 08:24:33 UTC) #22
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=204602
7 years ago (2013-12-16 09:55:17 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/104593010/130001
7 years ago (2013-12-16 15:57:38 UTC) #24
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=204859
7 years ago (2013-12-16 18:23:49 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/104593010/130001
7 years ago (2013-12-16 18:28:24 UTC) #26
commit-bot: I haz the power
7 years ago (2013-12-16 18:37:00 UTC) #27
Message was sent while issue was closed.
Change committed as 240937

Powered by Google App Engine
This is Rietveld 408576698