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

Issue 1826103002: CacheStorage: Pass url::Origin rather than GURL over IPC (Closed)

Created:
4 years, 9 months ago by jsbell
Modified:
4 years, 8 months ago
Reviewers:
michaeln, Mike West, jkarlin, jam
CC:
blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, jkarlin+watch_chromium.org, kinuko+watch, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nhiroki
Base URL:
https://chromium.googlesource.com/chromium/src.git@origin-idb
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CacheStorage: Pass url::Origin rather than GURL over IPC Eliminate some WebSecurityOrigin -> string -> GURL conversions prior to IPC. The CacheStorage back-end in content/browser/cache_storage still uses GURL internally, so there's more cleanup to be done in follow-ups. BUG=591482 Committed: https://crrev.com/9f1be5affd71497458f19e45b73d3a45b9f28e73 Cr-Commit-Position: refs/heads/master@{#384743}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add explicit unique origin check #

Total comments: 2

Patch Set 3 : Add missing include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -41 lines) Patch
M content/browser/cache_storage/cache_storage_dispatcher_host.h View 1 2 2 chunks +11 lines, -5 lines 0 comments Download
M content/browser/cache_storage/cache_storage_dispatcher_host.cc View 1 2 11 chunks +15 lines, -13 lines 0 comments Download
M content/common/cache_storage/cache_storage_messages.h View 2 chunks +6 lines, -6 lines 0 comments Download
M content/renderer/cache_storage/cache_storage_dispatcher.h View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M content/renderer/cache_storage/cache_storage_dispatcher.cc View 1 2 6 chunks +6 lines, -5 lines 0 comments Download
M content/renderer/cache_storage/webserviceworkercachestorage_impl.h View 3 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/cache_storage/webserviceworkercachestorage_impl.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
Mike West
LGTM, assuming that this does the right thing given a unqiue origin. `Serialize` will return ...
4 years, 9 months ago (2016-03-24 14:29:23 UTC) #1
jsbell
In theory, none of these storage types should be permitted for unique origins. I should ...
4 years, 9 months ago (2016-03-24 16:31:57 UTC) #2
jsbell
michaeln@, jkarlin@ - can you take a look? Note that I do plan a follow-up ...
4 years, 8 months ago (2016-03-30 23:27:48 UTC) #4
jkarlin
lgtm with nits. Please update the comment to say browser/cache_storage instead of browser/indexed_db https://codereview.chromium.org/1826103002/diff/20001/content/browser/cache_storage/cache_storage_dispatcher_host.cc File ...
4 years, 8 months ago (2016-03-31 11:31:49 UTC) #5
jsbell
jam@ - can you OWNERS review the content/renderer/renderer_blink_platform_impl.cc change? https://codereview.chromium.org/1826103002/diff/20001/content/browser/cache_storage/cache_storage_dispatcher_host.cc File content/browser/cache_storage/cache_storage_dispatcher_host.cc (right): https://codereview.chromium.org/1826103002/diff/20001/content/browser/cache_storage/cache_storage_dispatcher_host.cc#newcode25 content/browser/cache_storage/cache_storage_dispatcher_host.cc:25: ...
4 years, 8 months ago (2016-04-01 19:04:06 UTC) #9
jam
On 2016/04/01 19:04:06, jsbell wrote: > jam@ - can you OWNERS review the > content/renderer/renderer_blink_platform_impl.cc ...
4 years, 8 months ago (2016-04-01 22:51:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1826103002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1826103002/40001
4 years, 8 months ago (2016-04-01 22:51:55 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-02 00:06:36 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-04-02 00:08:29 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9f1be5affd71497458f19e45b73d3a45b9f28e73
Cr-Commit-Position: refs/heads/master@{#384743}

Powered by Google App Engine
This is Rietveld 408576698