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

Issue 648623003: PushMessagingBrowserTest for registration success and failure (Closed)

Created:
6 years, 2 months ago by Michael van Ouwerkerk
Modified:
6 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git/+/master
Project:
chromium
Visibility:
Public.

Description

PushMessagingBrowserTest for registration success and failure. BUG=350377 Committed: https://crrev.com/0900680fd9312ff57f1fc25045e29ee176be376a Cr-Commit-Position: refs/heads/master@{#300898}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Extract endpoint constant and tweak RunScript signature. #

Patch Set 3 : Rebase. #

Total comments: 25

Patch Set 4 : Rebase and address Peter's feedback. #

Total comments: 2

Patch Set 5 : Move profile setter. #

Total comments: 9

Patch Set 6 : Rebase and address Filip's feedback. #

Patch Set 7 : Add copyright comment. #

Patch Set 8 : Fix ASAN failure. #

Patch Set 9 : Rebase. #

Patch Set 10 : Respond to the infobar asynchronously, like a user. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -11 lines) Patch
M chrome/browser/services/gcm/fake_gcm_profile_service.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
A chrome/browser/services/gcm/push_messaging_browsertest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +168 lines, -0 lines 0 comments Download
A chrome/browser/services/gcm/push_messaging_constants.h View 1 1 chunk +14 lines, -0 lines 0 comments Download
A + chrome/browser/services/gcm/push_messaging_constants.cc View 1 1 chunk +2 lines, -7 lines 0 comments Download
M chrome/browser/services/gcm/push_messaging_service_impl.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/push_messaging_service_impl.cc View 1 2 3 4 3 chunks +6 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A + chrome/test/data/push_messaging/service_worker.js View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/test/data/push_messaging/test.html View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 49 (20 generated)
Michael van Ouwerkerk
Peter, could you please take an overall look?
6 years, 2 months ago (2014-10-17 13:01:11 UTC) #3
Peter Beverloo
Whoohoo! Two tests :-). https://codereview.chromium.org/648623003/diff/1/chrome/browser/services/gcm/fake_gcm_profile_service.cc File chrome/browser/services/gcm/fake_gcm_profile_service.cc (right): https://codereview.chromium.org/648623003/diff/1/chrome/browser/services/gcm/fake_gcm_profile_service.cc#newcode117 chrome/browser/services/gcm/fake_gcm_profile_service.cc:117: ->SetProfileForTesting(profile); It looks like PushMessagingServiceImpl ...
6 years, 2 months ago (2014-10-17 14:04:08 UTC) #4
Michael van Ouwerkerk
Thanks Peter! Please take another look. https://codereview.chromium.org/648623003/diff/1/chrome/browser/services/gcm/fake_gcm_profile_service.cc File chrome/browser/services/gcm/fake_gcm_profile_service.cc (right): https://codereview.chromium.org/648623003/diff/1/chrome/browser/services/gcm/fake_gcm_profile_service.cc#newcode117 chrome/browser/services/gcm/fake_gcm_profile_service.cc:117: ->SetProfileForTesting(profile); On 2014/10/17 ...
6 years, 2 months ago (2014-10-17 15:28:02 UTC) #5
Michael van Ouwerkerk
Filip: please review as owner of the gcm directory.
6 years, 2 months ago (2014-10-17 15:51:00 UTC) #8
Michael van Ouwerkerk
Pawel: please review as owner of net/tools/testserver/testserver.py
6 years, 2 months ago (2014-10-17 15:52:46 UTC) #11
Paweł Hajdan Jr.
net/tools LGTM
6 years, 2 months ago (2014-10-17 17:23:31 UTC) #12
Peter Beverloo
Michael, please check whether you replied to all comments before asking a reviewer to take ...
6 years, 2 months ago (2014-10-20 12:45:22 UTC) #13
Michael van Ouwerkerk
Thanks Peter. Please take another look. https://codereview.chromium.org/648623003/diff/40001/chrome/browser/services/gcm/push_messaging_browsertest.cc File chrome/browser/services/gcm/push_messaging_browsertest.cc (right): https://codereview.chromium.org/648623003/diff/40001/chrome/browser/services/gcm/push_messaging_browsertest.cc#newcode28 chrome/browser/services/gcm/push_messaging_browsertest.cc:28: InfoBarObserver(Browser* browser, bool ...
6 years, 2 months ago (2014-10-20 15:30:38 UTC) #14
Peter Beverloo
lgtm I'll defer to Filip for the GCM specific bits. https://codereview.chromium.org/648623003/diff/40001/chrome/browser/services/gcm/push_messaging_browsertest.cc File chrome/browser/services/gcm/push_messaging_browsertest.cc (right): https://codereview.chromium.org/648623003/diff/40001/chrome/browser/services/gcm/push_messaging_browsertest.cc#newcode28 ...
6 years, 2 months ago (2014-10-20 16:35:52 UTC) #15
Michael van Ouwerkerk
Thanks Peter. https://codereview.chromium.org/648623003/diff/40001/chrome/browser/services/gcm/push_messaging_browsertest.cc File chrome/browser/services/gcm/push_messaging_browsertest.cc (right): https://codereview.chromium.org/648623003/diff/40001/chrome/browser/services/gcm/push_messaging_browsertest.cc#newcode28 chrome/browser/services/gcm/push_messaging_browsertest.cc:28: InfoBarObserver(Browser* browser, bool accept) On 2014/10/20 16:35:52, ...
6 years, 2 months ago (2014-10-20 17:06:49 UTC) #16
fgorski
mostly looks ok. A bunch of nits and question regarding the consts file. https://codereview.chromium.org/648623003/diff/80001/chrome/browser/services/gcm/push_messaging_browsertest.cc File ...
6 years, 2 months ago (2014-10-20 22:29:08 UTC) #17
Michael van Ouwerkerk
Thanks Filip! Please take another look. https://codereview.chromium.org/648623003/diff/80001/chrome/browser/services/gcm/push_messaging_browsertest.cc File chrome/browser/services/gcm/push_messaging_browsertest.cc (right): https://codereview.chromium.org/648623003/diff/80001/chrome/browser/services/gcm/push_messaging_browsertest.cc#newcode57 chrome/browser/services/gcm/push_messaging_browsertest.cc:57: class PushMessagingBrowserTest : ...
6 years, 2 months ago (2014-10-21 10:32:01 UTC) #18
fgorski
lgtm https://codereview.chromium.org/648623003/diff/80001/chrome/browser/services/gcm/push_messaging_constants.h File chrome/browser/services/gcm/push_messaging_constants.h (right): https://codereview.chromium.org/648623003/diff/80001/chrome/browser/services/gcm/push_messaging_constants.h#newcode10 chrome/browser/services/gcm/push_messaging_constants.h:10: extern const char kPushMessagingEndpoint[]; On 2014/10/21 10:32:01, Michael ...
6 years, 2 months ago (2014-10-21 17:16:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/648623003/100001
6 years, 2 months ago (2014-10-21 17:18:20 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/18995)
6 years, 2 months ago (2014-10-21 17:28:00 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/648623003/120001
6 years, 2 months ago (2014-10-21 18:13:09 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/24287)
6 years, 2 months ago (2014-10-21 19:31:15 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/648623003/120001
6 years, 2 months ago (2014-10-21 19:58:18 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/4910)
6 years, 2 months ago (2014-10-22 00:55:50 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/648623003/120001
6 years, 2 months ago (2014-10-22 11:32:43 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/648623003/140001
6 years, 2 months ago (2014-10-22 13:48:02 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/5176)
6 years, 2 months ago (2014-10-22 15:57:03 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/648623003/160001
6 years, 2 months ago (2014-10-23 10:19:37 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32 on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32/builds/4107) linux_chromium_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel/builds/2211)
6 years, 2 months ago (2014-10-23 10:51:05 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/648623003/160001
6 years, 2 months ago (2014-10-23 11:16:15 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/5623)
6 years, 2 months ago (2014-10-23 12:56:56 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/648623003/180001
6 years, 2 months ago (2014-10-23 14:54:02 UTC) #47
commit-bot: I haz the power
Committed patchset #10 (id:180001)
6 years, 2 months ago (2014-10-23 16:07:44 UTC) #48
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 16:08:41 UTC) #49
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/0900680fd9312ff57f1fc25045e29ee176be376a
Cr-Commit-Position: refs/heads/master@{#300898}

Powered by Google App Engine
This is Rietveld 408576698