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

Issue 1047243002: Add initial browsertest of download notification (Closed)

Created:
5 years, 8 months ago by yoshiki
Modified:
5 years, 7 months ago
Reviewers:
asanka, benjhayden, Nico
CC:
asanka, benjhayden+dwatch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add initial browsertest of download notification This patch introduces the basic browser tests of download notification. BUG=480489 TEST=run newly added browsertest Committed: https://crrev.com/c6f2f80dfb217d42ffe7e28ea26fb4e0d2a5459f Cr-Commit-Position: refs/heads/master@{#326760}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Addressed comments #

Patch Set 3 : Make the test runs only in chromeos build #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+502 lines, -0 lines) Patch
A chrome/browser/download/notification/download_notification_browsertest.cc View 1 1 chunk +501 lines, -0 lines 1 comment Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
yoshiki
benjhayden, could you take a look? Thanks.
5 years, 8 months ago (2015-04-17 23:29:15 UTC) #5
benjhayden
On 2015/04/17 at 23:29:15, yoshiki wrote: > benjhayden, could you take a look? Thanks. Asanka ...
5 years, 8 months ago (2015-04-17 23:41:00 UTC) #6
yoshiki
Asanka, could you take a look? Thanks. Ben, thank you for quick reply!
5 years, 8 months ago (2015-04-20 16:30:19 UTC) #8
asanka
Additional tests to consider: * Incognito profile. * Download removed externally (I.e. someone calls DownloadItem::Remove()). ...
5 years, 8 months ago (2015-04-22 21:45:43 UTC) #9
yoshiki
Asanka, PTAL at the patch? I agree to the needs of more tests. Let me ...
5 years, 8 months ago (2015-04-23 16:03:30 UTC) #10
asanka
lgtm
5 years, 8 months ago (2015-04-23 23:26:29 UTC) #11
yoshiki
thank you for reviewing. I'm going to commit
5 years, 8 months ago (2015-04-24 02:38:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1047243002/80001
5 years, 8 months ago (2015-04-24 02:38:41 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/65079)
5 years, 8 months ago (2015-04-24 02:57:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1047243002/100001
5 years, 8 months ago (2015-04-24 07:43:18 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:100001)
5 years, 8 months ago (2015-04-24 08:48:25 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/c6f2f80dfb217d42ffe7e28ea26fb4e0d2a5459f Cr-Commit-Position: refs/heads/master@{#326760}
5 years, 8 months ago (2015-04-24 08:49:15 UTC) #21
Nico
5 years, 7 months ago (2015-05-22 18:41:48 UTC) #23
Message was sent while issue was closed.
https://codereview.chromium.org/1047243002/diff/100001/chrome/browser/downloa...
File chrome/browser/download/notification/download_notification_browsertest.cc
(right):

https://codereview.chromium.org/1047243002/diff/100001/chrome/browser/downloa...
chrome/browser/download/notification/download_notification_browsertest.cc:132:
MessageCenterChangeObserver();
This is not how you call a superclass constructor. This creates an unnamed
temporary of type MessageCenterChangeObserver. The superclass constructor is
called automatically; if you want to call it explicitly put it in the
initializer list (see
http://stackoverflow.com/questions/6923722/how-do-i-call-the-base-class-const...
– also in 3 more places in this file)

Powered by Google App Engine
This is Rietveld 408576698