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

Issue 1757693002: Reduce use of DatabaseIdentifier in Indexed DB entry points. (Closed)

Created:
4 years, 9 months ago by jsbell
Modified:
4 years, 9 months ago
CC:
blink-reviews, chromium-apps-reviews_chromium.org, chromium-reviews, cmumford, darin-cc_chromium.org, extensions-reviews_chromium.org, falken, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, jsbell+idb_chromium.org, kinuko+serviceworker, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reduce use of DatabaseIdentifier in Indexed DB entry points. A DatabaseIdentifier is a way to serialize an origin URL, but it is only needed when creating filenames. Stop using it where an origin URL is perfectly appropriate, and remove duplicate conversion functions when it is used. Also, remove a few unused includes of database identifier headers. BUG=591240 R=michaeln@chromium.org Committed: https://crrev.com/b8f7a9160398c23a44807ff474e7e5288e223416 Cr-Commit-Position: refs/heads/master@{#380438}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Revert change for ZIP file naming #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -69 lines) Patch
M chrome/browser/extensions/extension_service_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/indexed_db/indexed_db_backing_store.cc View 4 chunks +8 lines, -19 lines 0 comments Download
M content/browser/indexed_db/indexed_db_context_impl.h View 3 chunks +6 lines, -4 lines 0 comments Download
M content/browser/indexed_db/indexed_db_context_impl.cc View 5 chunks +32 lines, -24 lines 0 comments Download
M content/browser/indexed_db/indexed_db_factory_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_factory_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_quota_client_unittest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/indexed_db/indexed_db_unittest.cc View 5 chunks +6 lines, -13 lines 0 comments Download
M content/public/browser/indexed_db_context.h View 1 chunk +2 lines, -1 line 2 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 22 (8 generated)
jsbell
michaeln@ - please take a look? (I'll need OWNERS review for content/public and chrome/browser/extensions tho) ...
4 years, 9 months ago (2016-03-02 17:52:56 UTC) #2
michaeln
qq about url::Origin? https://codereview.chromium.org/1757693002/diff/1/content/browser/indexed_db/indexed_db_backing_store.cc File content/browser/indexed_db/indexed_db_backing_store.cc (right): https://codereview.chromium.org/1757693002/diff/1/content/browser/indexed_db/indexed_db_backing_store.cc#newcode89 content/browser/indexed_db/indexed_db_backing_store.cc:89: return storage::GetIdentifierFromOrigin(origin_url) + "@1"; A little ...
4 years, 9 months ago (2016-03-02 23:51:33 UTC) #3
jsbell
https://codereview.chromium.org/1757693002/diff/1/content/browser/indexed_db/indexed_db_backing_store.cc File content/browser/indexed_db/indexed_db_backing_store.cc (right): https://codereview.chromium.org/1757693002/diff/1/content/browser/indexed_db/indexed_db_backing_store.cc#newcode89 content/browser/indexed_db/indexed_db_backing_store.cc:89: return storage::GetIdentifierFromOrigin(origin_url) + "@1"; On 2016/03/02 23:51:33, michaeln wrote: ...
4 years, 9 months ago (2016-03-03 01:11:25 UTC) #4
jsbell
Also, https://crrev.com/1755343002 is in progress too. (I split the CLs in to backend-centric and Blink/IPC-centric. ...
4 years, 9 months ago (2016-03-03 01:12:40 UTC) #5
michaeln
lgtm!
4 years, 9 months ago (2016-03-03 01:22:40 UTC) #6
Marijn Kruisselbrink
chrome/browser/extensions drive-by LGTM
4 years, 9 months ago (2016-03-03 01:24:46 UTC) #8
jsbell
jam@ - OWNERS review for content/public change? (and thanks mek@ !)
4 years, 9 months ago (2016-03-08 22:26:24 UTC) #10
jsbell
Oops, jam@ is away. jochen@ - can you OWNERS review the content/public change?
4 years, 9 months ago (2016-03-09 20:34:16 UTC) #12
kinuko
drive-by lgtm for content/public in case it helps
4 years, 9 months ago (2016-03-10 01:27:25 UTC) #14
jochen (gone - plz use gerrit)
lgtm either way https://codereview.chromium.org/1757693002/diff/20001/content/public/browser/indexed_db_context.h File content/public/browser/indexed_db_context.h (right): https://codereview.chromium.org/1757693002/diff/20001/content/public/browser/indexed_db_context.h#newcode45 content/public/browser/indexed_db_context.h:45: const GURL& origin_url) const = 0; ...
4 years, 9 months ago (2016-03-10 15:46:52 UTC) #15
jsbell
https://codereview.chromium.org/1757693002/diff/20001/content/public/browser/indexed_db_context.h File content/public/browser/indexed_db_context.h (right): https://codereview.chromium.org/1757693002/diff/20001/content/public/browser/indexed_db_context.h#newcode45 content/public/browser/indexed_db_context.h:45: const GURL& origin_url) const = 0; On 2016/03/10 15:46:51, ...
4 years, 9 months ago (2016-03-10 17:27:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1757693002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1757693002/20001
4 years, 9 months ago (2016-03-10 17:28:40 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-10 18:59:59 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 19:01:27 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b8f7a9160398c23a44807ff474e7e5288e223416
Cr-Commit-Position: refs/heads/master@{#380438}

Powered by Google App Engine
This is Rietveld 408576698