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

Issue 2697953002: Remove incorrect optimization in LevelDBWrapperImpl::DeleteAll(). (Closed)

Created:
3 years, 10 months ago by Marijn Kruisselbrink
Modified:
3 years, 10 months ago
Reviewers:
michaeln, jam
CC:
chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove incorrect optimization in LevelDBWrapperImpl::DeleteAll(). Observers should only be informed of a DeleteAll if something was actually deleted. In order to do that, DeleteAll always has to try loading any existing data before deleting. BUG=586194 Review-Url: https://codereview.chromium.org/2697953002 Cr-Commit-Position: refs/heads/master@{#450823} Committed: https://chromium.googlesource.com/chromium/src/+/30ff3ed98b0ec1beaab7f884ece7eedb7387888a

Patch Set 1 #

Patch Set 2 : add web platform test #

Patch Set 3 : rebase #

Patch Set 4 : fix web platform test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -8 lines) Patch
M content/browser/leveldb_wrapper_impl.cc View 1 chunk +7 lines, -4 lines 0 comments Download
M content/browser/leveldb_wrapper_impl_unittest.cc View 4 chunks +16 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/MANIFEST.json View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/webstorage/event_no_duplicates.html View 1 2 3 1 chunk +111 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (18 generated)
Marijn Kruisselbrink
3 years, 10 months ago (2017-02-15 01:16:36 UTC) #8
jam
lgtm
3 years, 10 months ago (2017-02-15 17:08:16 UTC) #11
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/2697953002/60001
3 years, 10 months ago (2017-02-15 18:58:46 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/119614)
3 years, 10 months ago (2017-02-15 20:37:07 UTC) #19
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/2697953002/60001
3 years, 10 months ago (2017-02-15 21:20:19 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 22:53:08 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/30ff3ed98b0ec1beaab7f884ece7...

Powered by Google App Engine
This is Rietveld 408576698