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

Issue 1814003002: Implement the renderer side of the mojo based local storage implementation. (Closed)

Created:
4 years, 9 months ago by jam
Modified:
4 years, 9 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement the renderer side of the mojo based local storage implementation. This is based on the existing chrome IPC based implementation. BUG=586194 Committed: https://crrev.com/490e88eee68dd6907195dfeb0922d9e7cf37a693 Cr-Commit-Position: refs/heads/master@{#382138}

Patch Set 1 #

Patch Set 2 : #

Total comments: 38

Patch Set 3 : review comments #

Total comments: 9

Patch Set 4 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+376 lines, -42 lines) Patch
M content/browser/leveldb_wrapper_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/leveldb_wrapper.mojom View 2 chunks +10 lines, -6 lines 0 comments Download
M content/renderer/dom_storage/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/dom_storage/local_storage_area.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/dom_storage/local_storage_area.cc View 1 2 4 chunks +9 lines, -3 lines 0 comments Download
M content/renderer/dom_storage/local_storage_cached_area.h View 1 2 6 chunks +29 lines, -3 lines 0 comments Download
M content/renderer/dom_storage/local_storage_cached_area.cc View 1 2 3 3 chunks +225 lines, -10 lines 0 comments Download
M content/renderer/dom_storage/local_storage_cached_areas.h View 1 2 3 2 chunks +7 lines, -6 lines 0 comments Download
M content/renderer/dom_storage/local_storage_cached_areas.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M content/renderer/dom_storage/local_storage_namespace.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M mojo/common/common_type_converters.h View 1 2 2 chunks +11 lines, -5 lines 0 comments Download
M mojo/common/common_type_converters.cc View 1 2 2 chunks +20 lines, -3 lines 0 comments Download
M mojo/common/common_type_converters_unittest.cc View 1 1 chunk +27 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
jam
dcheng: content/common/leveldb_wrapper.mojom michaeln: the rest
4 years, 9 months ago (2016-03-17 22:31:42 UTC) #2
michaeln
https://codereview.chromium.org/1814003002/diff/20001/content/renderer/dom_storage/local_storage_cached_area.cc File content/renderer/dom_storage/local_storage_cached_area.cc (right): https://codereview.chromium.org/1814003002/diff/20001/content/renderer/dom_storage/local_storage_cached_area.cc#newcode66 content/renderer/dom_storage/local_storage_cached_area.cc:66: } do we care about retaining this behavior? // ...
4 years, 9 months ago (2016-03-18 01:05:17 UTC) #3
dcheng
https://codereview.chromium.org/1814003002/diff/20001/content/common/leveldb_wrapper.mojom File content/common/leveldb_wrapper.mojom (right): https://codereview.chromium.org/1814003002/diff/20001/content/common/leveldb_wrapper.mojom#newcode14 content/common/leveldb_wrapper.mojom:14: // In the methods below, |source| is a user-defined ...
4 years, 9 months ago (2016-03-18 06:35:30 UTC) #4
jam
+isherman for histograms.xml https://codereview.chromium.org/1814003002/diff/20001/content/common/leveldb_wrapper.mojom File content/common/leveldb_wrapper.mojom (right): https://codereview.chromium.org/1814003002/diff/20001/content/common/leveldb_wrapper.mojom#newcode14 content/common/leveldb_wrapper.mojom:14: // In the methods below, |source| ...
4 years, 9 months ago (2016-03-18 16:48:34 UTC) #6
Ilya Sherman
metrics lgtm % nits: https://codereview.chromium.org/1814003002/diff/40001/content/renderer/dom_storage/local_storage_cached_area.cc File content/renderer/dom_storage/local_storage_cached_area.cc (right): https://codereview.chromium.org/1814003002/diff/40001/content/renderer/dom_storage/local_storage_cached_area.cc#newcode8 content/renderer/dom_storage/local_storage_cached_area.cc:8: #include "base/metrics/histogram.h" nit: Please #include ...
4 years, 9 months ago (2016-03-18 21:46:14 UTC) #7
michaeln
lgtm https://codereview.chromium.org/1814003002/diff/20001/content/renderer/dom_storage/local_storage_cached_area.cc File content/renderer/dom_storage/local_storage_cached_area.cc (right): https://codereview.chromium.org/1814003002/diff/20001/content/renderer/dom_storage/local_storage_cached_area.cc#newcode66 content/renderer/dom_storage/local_storage_cached_area.cc:66: } per our hallway discussion... nevermind :) mojo ...
4 years, 9 months ago (2016-03-18 22:01:14 UTC) #8
jam
+tsepez instead of dcheng who's ooo https://codereview.chromium.org/1814003002/diff/20001/content/renderer/dom_storage/local_storage_cached_area.cc File content/renderer/dom_storage/local_storage_cached_area.cc (right): https://codereview.chromium.org/1814003002/diff/20001/content/renderer/dom_storage/local_storage_cached_area.cc#newcode147 content/renderer/dom_storage/local_storage_cached_area.cc:147: // already changed ...
4 years, 9 months ago (2016-03-18 22:15:02 UTC) #10
Tom Sepez
mojom LGTM.
4 years, 9 months ago (2016-03-18 22:36:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814003002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814003002/60001
4 years, 9 months ago (2016-03-18 22:58:33 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-19 00:29:43 UTC) #17
commit-bot: I haz the power
4 years, 9 months ago (2016-03-19 00:31:48 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/490e88eee68dd6907195dfeb0922d9e7cf37a693
Cr-Commit-Position: refs/heads/master@{#382138}

Powered by Google App Engine
This is Rietveld 408576698