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

Issue 863503002: Delete cookies for site when deleting locally stored data. (Closed)

Created:
5 years, 11 months ago by Finnur
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete cookies for site when deleting locally stored data. And, in the process, fix a bug in the CookieTreeModel, where it was prematurely sending BatchEnded events. BUG=445962, 447395 Committed: https://crrev.com/bf8a48a2dfb9c0d16103ae8228798f5cfdaf343f Cr-Commit-Position: refs/heads/master@{#313902}

Patch Set 1 #

Patch Set 2 : String change as requested in bug #

Total comments: 4

Patch Set 3 : Remove parentheses #

Total comments: 6

Patch Set 4 : Address Newton's comments #

Patch Set 5 : Augment string, as per discussion in bug #

Total comments: 3

Patch Set 6 : Sync'ed #

Messages

Total messages: 20 (2 generated)
Finnur
Newt, can you please review the first three files? Mike, can you please review the ...
5 years, 11 months ago (2015-01-19 14:51:48 UTC) #2
Mike West
LGTM, thanks for the fix. :)
5 years, 11 months ago (2015-01-20 07:55:19 UTC) #3
newt (away)
https://codereview.chromium.org/863503002/diff/20001/chrome/android/java/strings/android_chrome_strings.grd File chrome/android/java/strings/android_chrome_strings.grd (right): https://codereview.chromium.org/863503002/diff/20001/chrome/android/java/strings/android_chrome_strings.grd#newcode331 chrome/android/java/strings/android_chrome_strings.grd:331: Are you sure you want to clear all data ...
5 years, 11 months ago (2015-01-20 18:35:10 UTC) #4
Finnur
https://codereview.chromium.org/863503002/diff/20001/chrome/android/java/strings/android_chrome_strings.grd File chrome/android/java/strings/android_chrome_strings.grd (right): https://codereview.chromium.org/863503002/diff/20001/chrome/android/java/strings/android_chrome_strings.grd#newcode331 chrome/android/java/strings/android_chrome_strings.grd:331: Are you sure you want to clear all data ...
5 years, 11 months ago (2015-01-21 14:53:06 UTC) #5
Finnur
Newton: WDYT?
5 years, 11 months ago (2015-01-22 10:44:10 UTC) #6
newt (away)
Could you get an OWNER of chrome/browser/browsing_data to look at website_preference_bridge.cc? The JNI bits look ...
5 years, 11 months ago (2015-01-23 02:23:15 UTC) #7
Finnur
Mike, can you look at website_preference_bridge.cc as well? Newton: Good points, I'll address your review ...
5 years, 11 months ago (2015-01-23 16:02:57 UTC) #8
Finnur
Mike: ping Newton: Code updated, PTAL.
5 years, 11 months ago (2015-01-26 10:47:03 UTC) #9
Finnur
Ah... and now with comments... https://codereview.chromium.org/863503002/diff/40001/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://codereview.chromium.org/863503002/diff/40001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode345 chrome/browser/android/preferences/website_preference_bridge.cc:345: void TreeModelEndBatch(CookiesTreeModel* model) override ...
5 years, 11 months ago (2015-01-26 10:47:22 UTC) #10
Mike West
website_preference_bridge LGTM.
5 years, 11 months ago (2015-01-26 13:05:55 UTC) #11
newt (away)
https://codereview.chromium.org/863503002/diff/80001/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://codereview.chromium.org/863503002/diff/80001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode362 chrome/browser/android/preferences/website_preference_bridge.cc:362: domain_.DomainIs(info.cookie->Domain().c_str())) Is this the correct way to check for ...
5 years, 10 months ago (2015-01-26 19:24:22 UTC) #12
Mike West
On 2015/01/26 19:24:22, newt wrote: > https://codereview.chromium.org/863503002/diff/80001/chrome/browser/android/preferences/website_preference_bridge.cc > File chrome/browser/android/preferences/website_preference_bridge.cc (right): > > https://codereview.chromium.org/863503002/diff/80001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode362 > ...
5 years, 10 months ago (2015-01-28 09:39:54 UTC) #13
Finnur
https://codereview.chromium.org/863503002/diff/80001/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://codereview.chromium.org/863503002/diff/80001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode362 chrome/browser/android/preferences/website_preference_bridge.cc:362: domain_.DomainIs(info.cookie->Domain().c_str())) Thanks Mike. I convinced myself that the review ...
5 years, 10 months ago (2015-01-28 11:33:48 UTC) #14
newt (away)
lgtm. Thanks! https://codereview.chromium.org/863503002/diff/80001/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://codereview.chromium.org/863503002/diff/80001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode362 chrome/browser/android/preferences/website_preference_bridge.cc:362: domain_.DomainIs(info.cookie->Domain().c_str())) On 2015/01/28 11:33:48, Finnur wrote: > ...
5 years, 10 months ago (2015-01-28 17:43:59 UTC) #15
markusheintz_
On 2015/01/28 17:43:59, newt wrote: > lgtm. Thanks! > > https://codereview.chromium.org/863503002/diff/80001/chrome/browser/android/preferences/website_preference_bridge.cc > File chrome/browser/android/preferences/website_preference_bridge.cc (right): ...
5 years, 10 months ago (2015-01-29 10:14:58 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/863503002/100001
5 years, 10 months ago (2015-01-30 11:46:23 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-01-30 12:28:44 UTC) #19
commit-bot: I haz the power
5 years, 10 months ago (2015-01-30 12:29:43 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/bf8a48a2dfb9c0d16103ae8228798f5cfdaf343f
Cr-Commit-Position: refs/heads/master@{#313902}

Powered by Google App Engine
This is Rietveld 408576698