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

Issue 25097002: Cleaning data associated with the card upon deletion. (Closed)

Created:
7 years, 2 months ago by vadimt
Modified:
7 years, 2 months ago
CC:
chromium-reviews, arv+watch_chromium.org
Visibility:
Public.

Description

Cleaning data associated with the card upon deletion. BUG=164227 TEST=No Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228055

Patch Set 1 #

Patch Set 2 : Cosmetics #

Total comments: 10

Patch Set 3 : CR comments. #

Patch Set 4 : CR comments. #

Patch Set 5 : Reuploading thanks to glitch. #

Patch Set 6 : Reuploading again #

Patch Set 7 : ...and again #

Patch Set 8 : Rebasing #

Patch Set 9 : Fixing missing argument. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -11 lines) Patch
M chrome/browser/resources/google_now/background.js View 1 2 3 4 5 6 7 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/resources/google_now/cards.js View 1 2 3 4 5 6 7 3 chunks +36 lines, -3 lines 0 comments Download
M chrome/browser/resources/google_now/cards_unittest.gtestjs View 1 2 3 4 5 6 7 8 3 chunks +74 lines, -3 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
vadimt
7 years, 2 months ago (2013-09-27 17:07:24 UTC) #1
skare_
lgtm
7 years, 2 months ago (2013-09-27 17:18:09 UTC) #2
rgustafson
https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js#newcode194 chrome/browser/resources/google_now/cards.js:194: delete items.notificationsData[cardId]; Do you have to use delete vs ...
7 years, 2 months ago (2013-09-27 18:57:20 UTC) #3
robliao
https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards_unittest.gtestjs File chrome/browser/resources/google_now/cards_unittest.gtestjs (right): https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards_unittest.gtestjs#newcode405 chrome/browser/resources/google_now/cards_unittest.gtestjs:405: tasks_add(tasksAddSavedArgs.match(eq(CLEAR_CARD_TASK_NAME)), tasksAddSavedArgs.match(ANYTHING)). Linebreak
7 years, 2 months ago (2013-09-27 19:47:11 UTC) #4
vadimt
https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js#newcode194 chrome/browser/resources/google_now/cards.js:194: delete items.notificationsData[cardId]; On 2013/09/27 18:57:20, rgustafson wrote: > Do ...
7 years, 2 months ago (2013-09-27 20:10:56 UTC) #5
rgustafson
https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js#newcode194 chrome/browser/resources/google_now/cards.js:194: delete items.notificationsData[cardId]; On 2013/09/27 20:10:56, vadimt wrote: > On ...
7 years, 2 months ago (2013-09-27 20:19:28 UTC) #6
vadimt
https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js#newcode194 chrome/browser/resources/google_now/cards.js:194: delete items.notificationsData[cardId]; On 2013/09/27 20:19:28, rgustafson wrote: > On ...
7 years, 2 months ago (2013-09-27 20:25:24 UTC) #7
rgustafson
https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js#newcode194 chrome/browser/resources/google_now/cards.js:194: delete items.notificationsData[cardId]; On 2013/09/27 20:25:24, vadimt wrote: > On ...
7 years, 2 months ago (2013-09-27 22:53:01 UTC) #8
robliao
lgtm
7 years, 2 months ago (2013-09-27 22:56:11 UTC) #9
robliao
https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js#newcode194 chrome/browser/resources/google_now/cards.js:194: delete items.notificationsData[cardId]; The concern here is that deleting is ...
7 years, 2 months ago (2013-09-27 22:59:13 UTC) #10
vadimt
https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js#newcode194 chrome/browser/resources/google_now/cards.js:194: delete items.notificationsData[cardId]; FWIW: I'm not null-ing it. This is ...
7 years, 2 months ago (2013-09-30 16:56:17 UTC) #11
rgustafson
https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js File chrome/browser/resources/google_now/cards.js (right): https://codereview.chromium.org/25097002/diff/3001/chrome/browser/resources/google_now/cards.js#newcode194 chrome/browser/resources/google_now/cards.js:194: delete items.notificationsData[cardId]; On 2013/09/30 16:56:17, vadimt wrote: > FWIW: ...
7 years, 2 months ago (2013-09-30 18:44:02 UTC) #12
vadimt
+arv@ arv@, while your CR is not required, could you look at the particular issue ...
7 years, 2 months ago (2013-09-30 19:18:03 UTC) #13
arv (Not doing code reviews)
LGTM delete is the right thing to use if the object is used as a ...
7 years, 2 months ago (2013-09-30 19:31:07 UTC) #14
rgustafson
lgtm
7 years, 2 months ago (2013-09-30 21:17:24 UTC) #15
vadimt
Thanks everyone for reviews! arv@, thanks for your comment!
7 years, 2 months ago (2013-09-30 21:21:55 UTC) #16
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 2 months ago (2013-10-10 14:57:27 UTC) #17
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 2 months ago (2013-10-10 15:00:16 UTC) #18
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 2 months ago (2013-10-10 15:10:11 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/25097002/9001
7 years, 2 months ago (2013-10-10 18:03:40 UTC) #20
commit-bot: I haz the power
Failed to apply patch for chrome/browser/resources/google_now/cards.js: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-10 18:03:42 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/25097002/54001
7 years, 2 months ago (2013-10-10 19:45:59 UTC) #22
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests, chrome_frame_net_tests, chrome_frame_tests, chrome_frame_unittests, content_browsertests, mini_installer_test, ...
7 years, 2 months ago (2013-10-10 22:27:20 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vadimt@chromium.org/25097002/54001
7 years, 2 months ago (2013-10-10 22:36:18 UTC) #24
commit-bot: I haz the power
7 years, 2 months ago (2013-10-11 00:20:06 UTC) #25
Message was sent while issue was closed.
Change committed as 228055

Powered by Google App Engine
This is Rietveld 408576698