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

Issue 1098883005: The SQLitePersistentCookieStore should use a non-partial index on iOS. (Closed)

Created:
5 years, 8 months ago by erikchen
Modified:
5 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

The SQLitePersistentCookieStore should use a non-partial index on iOS. I recently added the "transient" partial index to the SQLitePersistentCookieStore. iOS 8.1 and older doesn't have access to SQLite 3.8+, so it can't use partial indices. Instead, use a full index on SQLitePersistentCookieStore on iOS. BUG=478346 Committed: https://crrev.com/4417ab30e74fa234a5cc0623ef7d13bc609802fc Cr-Commit-Position: refs/heads/master@{#327130}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Comments from rohitrao. #

Total comments: 4

Patch Set 4 : Comments from rohit round two. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M content/browser/net/sqlite_persistent_cookie_store.cc View 1 2 3 2 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
erikchen
rohitrao: Please review.
5 years, 8 months ago (2015-04-24 17:15:50 UTC) #2
rohitrao (ping after 24h)
https://codereview.chromium.org/1098883005/diff/20001/content/browser/net/sqlite_persistent_cookie_store.cc File content/browser/net/sqlite_persistent_cookie_store.cc (right): https://codereview.chromium.org/1098883005/diff/20001/content/browser/net/sqlite_persistent_cookie_store.cc#newcode994 content/browser/net/sqlite_persistent_cookie_store.cc:994: "CREATE INDEX IF NOT EXISTS is_transient ON cookies(persistent) " ...
5 years, 8 months ago (2015-04-24 17:22:28 UTC) #3
erikchen
rohitrao: PTAL https://codereview.chromium.org/1098883005/diff/20001/content/browser/net/sqlite_persistent_cookie_store.cc File content/browser/net/sqlite_persistent_cookie_store.cc (right): https://codereview.chromium.org/1098883005/diff/20001/content/browser/net/sqlite_persistent_cookie_store.cc#newcode994 content/browser/net/sqlite_persistent_cookie_store.cc:994: "CREATE INDEX IF NOT EXISTS is_transient ON ...
5 years, 8 months ago (2015-04-24 17:30:19 UTC) #4
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/1098883005/diff/40001/content/browser/net/sqlite_persistent_cookie_store.cc File content/browser/net/sqlite_persistent_cookie_store.cc (right): https://codereview.chromium.org/1098883005/diff/40001/content/browser/net/sqlite_persistent_cookie_store.cc#newcode435 content/browser/net/sqlite_persistent_cookie_store.cc:435: #if defined(OS_IOS) Is it worth adding a comment ...
5 years, 8 months ago (2015-04-24 17:36:29 UTC) #5
erikchen
https://codereview.chromium.org/1098883005/diff/40001/content/browser/net/sqlite_persistent_cookie_store.cc File content/browser/net/sqlite_persistent_cookie_store.cc (right): https://codereview.chromium.org/1098883005/diff/40001/content/browser/net/sqlite_persistent_cookie_store.cc#newcode435 content/browser/net/sqlite_persistent_cookie_store.cc:435: #if defined(OS_IOS) On 2015/04/24 17:36:29, rohitrao wrote: > Is ...
5 years, 8 months ago (2015-04-24 17:42:57 UTC) #6
erikchen
erikwright: Please review.
5 years, 8 months ago (2015-04-24 20:12:55 UTC) #8
erikwright (departed)
Can you just ping shess@ to confirm that there's no better way to query for ...
5 years, 8 months ago (2015-04-27 18:54:21 UTC) #9
erikchen
On 2015/04/27 18:54:21, erikwright wrote: > Can you just ping shess@ to confirm that there's ...
5 years, 8 months ago (2015-04-27 19:13:47 UTC) #10
erikwright (departed)
SGTM. LGTM confirmed.
5 years, 8 months ago (2015-04-27 19:18:25 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1098883005/60001
5 years, 8 months ago (2015-04-27 19:19:44 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-27 21:30:43 UTC) #15
commit-bot: I haz the power
5 years, 8 months ago (2015-04-27 21:32:11 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4417ab30e74fa234a5cc0623ef7d13bc609802fc
Cr-Commit-Position: refs/heads/master@{#327130}

Powered by Google App Engine
This is Rietveld 408576698