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

Issue 2596603002: Make LevelDBObserver an associated interface to LevelDBWrapper. (Closed)

Created:
4 years ago by Marijn Kruisselbrink
Modified:
4 years ago
Reviewers:
michaeln, jam, dcheng
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, wjmaclean, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make LevelDBObserver an associated interface to LevelDBWrapper. LocalStorageCachedArea relies on an accurate interleaving of observations and replies to LevelDBWrapper method calls, so make observers associated interfaces for LevelDBWrapper. BUG=676078 BUG=586194 Committed: https://crrev.com/e80c2a1472bf8e7118e454bb8383d6046620007a Cr-Commit-Position: refs/heads/master@{#440039}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -27 lines) Patch
M content/browser/dom_storage/dom_storage_context_wrapper.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/dom_storage/dom_storage_context_wrapper.cc View 7 chunks +3 lines, -10 lines 0 comments Download
M content/browser/leveldb_wrapper_impl.h View 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/leveldb_wrapper_impl.cc View 1 chunk +7 lines, -4 lines 0 comments Download
M content/browser/storage_partition_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/storage_partition_impl.cc View 1 chunk +1 line, -3 lines 0 comments Download
M content/common/leveldb_wrapper.mojom View 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/storage_partition_service.mojom View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/dom_storage/local_storage_cached_area.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/dom_storage/local_storage_cached_area.cc View 1 chunk +5 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (12 generated)
Marijn Kruisselbrink
Another option would have been to make both LevelDBWrapper and LevelDBOverver be passed as associated ...
4 years ago (2016-12-20 21:57:04 UTC) #4
jam
lgtm Is it possible to write tests that fail when the pipes aren't associated? This ...
4 years ago (2016-12-20 23:23:36 UTC) #7
Marijn Kruisselbrink
On 2016/12/20 at 23:23:36, jam wrote: > lgtm > > Is it possible to write ...
4 years ago (2016-12-21 01:43:40 UTC) #8
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/2596603002/1
4 years ago (2016-12-21 01:44:05 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/330402)
4 years ago (2016-12-21 01:55:50 UTC) #12
Marijn Kruisselbrink
+dcheng for mojom owners
4 years ago (2016-12-21 02:01:26 UTC) #14
dcheng
mojo lgtm
4 years ago (2016-12-21 05:13:42 UTC) #15
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/2596603002/1
4 years ago (2016-12-21 06:09:19 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-21 06:14:01 UTC) #20
commit-bot: I haz the power
4 years ago (2016-12-21 06:16:28 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e80c2a1472bf8e7118e454bb8383d6046620007a
Cr-Commit-Position: refs/heads/master@{#440039}

Powered by Google App Engine
This is Rietveld 408576698