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

Issue 1841553002: IndexedDB: Use url::Origin rather than GURL for representing origins (Closed)

Created:
4 years, 8 months ago by jsbell
Modified:
4 years, 8 months ago
Reviewers:
michaeln, cmumford
CC:
chromium-reviews, darin-cc_chromium.org, jsbell+idb_chromium.org, jam, cmumford
Base URL:
https://chromium.googlesource.com/chromium/src.git@origin-idb
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

IndexedDB: Use url::Origin rather than GURL for representing origins This just updates the internals of Indexed DB. GURL is still used in content/public/browser, storage/browser/quota, and storage/browser/database so there are still conversions Origin<->GURL conversions on those API boundaries. R=michaeln@chromium.org BUG=598424 Committed: https://crrev.com/bebef3258b61d65b2400fa7c339f56d558e69288 Cr-Commit-Position: refs/heads/master@{#387621}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Review feedback incorporated #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+596 lines, -617 lines) Patch
M content/browser/indexed_db/indexed_db_active_blob_registry.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/indexed_db/indexed_db_active_blob_registry_unittest.cc View 1 2 10 chunks +18 lines, -17 lines 0 comments Download
M content/browser/indexed_db/indexed_db_backing_store.h View 1 2 10 chunks +12 lines, -11 lines 0 comments Download
M content/browser/indexed_db/indexed_db_backing_store.cc View 1 2 20 chunks +52 lines, -62 lines 0 comments Download
M content/browser/indexed_db/indexed_db_backing_store_unittest.cc View 1 2 8 chunks +13 lines, -16 lines 0 comments Download
M content/browser/indexed_db/indexed_db_browsertest.cc View 1 2 10 chunks +32 lines, -29 lines 0 comments Download
M content/browser/indexed_db/indexed_db_callbacks.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/indexed_db/indexed_db_callbacks.cc View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M content/browser/indexed_db/indexed_db_cleanup_on_io_error_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/indexed_db/indexed_db_context_impl.h View 1 2 6 chunks +36 lines, -27 lines 0 comments Download
M content/browser/indexed_db/indexed_db_context_impl.cc View 1 2 14 chunks +124 lines, -104 lines 0 comments Download
M content/browser/indexed_db/indexed_db_database.h View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M content/browser/indexed_db/indexed_db_database.cc View 1 2 21 chunks +22 lines, -41 lines 0 comments Download
M content/browser/indexed_db/indexed_db_dispatcher_host.h View 1 2 4 chunks +10 lines, -6 lines 0 comments Download
M content/browser/indexed_db/indexed_db_dispatcher_host.cc View 1 2 9 chunks +19 lines, -18 lines 0 comments Download
M content/browser/indexed_db/indexed_db_factory.h View 4 chunks +10 lines, -9 lines 0 comments Download
M content/browser/indexed_db/indexed_db_factory_impl.h View 6 chunks +22 lines, -17 lines 0 comments Download
M content/browser/indexed_db/indexed_db_factory_impl.cc View 1 22 chunks +79 lines, -111 lines 0 comments Download
M content/browser/indexed_db/indexed_db_factory_unittest.cc View 1 2 22 chunks +31 lines, -31 lines 0 comments Download
M content/browser/indexed_db/indexed_db_fake_backing_store.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/indexed_db/indexed_db_internals_ui.h View 1 2 3 chunks +11 lines, -7 lines 0 comments Download
M content/browser/indexed_db/indexed_db_internals_ui.cc View 1 2 8 chunks +42 lines, -58 lines 0 comments Download
M content/browser/indexed_db/indexed_db_quota_client.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/indexed_db/indexed_db_unittest.cc View 1 2 9 chunks +26 lines, -19 lines 0 comments Download
M content/browser/indexed_db/mock_indexed_db_factory.h View 3 chunks +9 lines, -9 lines 0 comments Download
M content/browser/indexed_db/mock_indexed_db_factory.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (4 generated)
jsbell
michaeln@, cmumford@ - can you take a look? Failure was due to a glitch in ...
4 years, 8 months ago (2016-03-30 23:28:36 UTC) #2
cmumford
lgtm https://codereview.chromium.org/1841553002/diff/1/content/browser/indexed_db/indexed_db_context_impl.cc File content/browser/indexed_db/indexed_db_context_impl.cc (right): https://codereview.chromium.org/1841553002/diff/1/content/browser/indexed_db/indexed_db_context_impl.cc#newcode94 content/browser/indexed_db/indexed_db_context_impl.cc:94: auto file_path_iter = file_paths.begin(); This is more of ...
4 years, 8 months ago (2016-03-31 20:54:16 UTC) #3
jsbell
Thanks. Another look, cmumford@ ? https://codereview.chromium.org/1841553002/diff/1/content/browser/indexed_db/indexed_db_context_impl.cc File content/browser/indexed_db/indexed_db_context_impl.cc (right): https://codereview.chromium.org/1841553002/diff/1/content/browser/indexed_db/indexed_db_context_impl.cc#newcode94 content/browser/indexed_db/indexed_db_context_impl.cc:94: auto file_path_iter = file_paths.begin(); ...
4 years, 8 months ago (2016-04-01 20:31:35 UTC) #4
cmumford
slgtm
4 years, 8 months ago (2016-04-04 21:03:26 UTC) #5
michaeln
r/s lgtm
4 years, 8 months ago (2016-04-06 21:03:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1841553002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1841553002/40001
4 years, 8 months ago (2016-04-15 16:41:19 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-15 16:46:35 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 16:48:05 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bebef3258b61d65b2400fa7c339f56d558e69288
Cr-Commit-Position: refs/heads/master@{#387621}

Powered by Google App Engine
This is Rietveld 408576698