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

Issue 2672313004: Test the platform notification context synchronize operation (Closed)

Created:
3 years, 10 months ago by Miguel Garcia
Modified:
3 years, 10 months ago
Reviewers:
Peter Beverloo, sky
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, awdf+watch_chromium.org, Peter Beverloo, mlamouri+watch-notifications_chromium.org, jam, darin-cc_chromium.org, einbinder+watch-test-runner_chromium.org, jochen+watch_chromium.org, mlamouri+watch-test-runner_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Test the platform notification context synchronize operation - Extract the mock implementation used for layout tests - Add the ability to synchronize notifications to the mock implementation - Create a small class with a custom content browser client - Use all of that in the test BUG=596161 Review-Url: https://codereview.chromium.org/2672313004 Cr-Commit-Position: refs/heads/master@{#449282} Committed: https://chromium.googlesource.com/chromium/src/+/f3f824cd5032eac3c694bd9b7a5c05a2e45ebc5c

Patch Set 1 #

Patch Set 2 : - #

Total comments: 10

Patch Set 3 : review #

Patch Set 4 : rebase #

Patch Set 5 : compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -275 lines) Patch
M content/browser/notifications/platform_notification_context_unittest.cc View 1 2 3 chunks +81 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_notification_manager.h View 1 2 3 2 chunks +4 lines, -75 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_notification_manager.cc View 2 chunks +1 line, -157 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_permission_manager.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A + content/test/mock_platform_notification_service.h View 1 2 3 4 6 chunks +15 lines, -14 lines 0 comments Download
A + content/test/mock_platform_notification_service.cc View 1 2 13 chunks +23 lines, -28 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 41 (26 generated)
Miguel Garcia
3 years, 10 months ago (2017-02-07 09:45:30 UTC) #8
Peter Beverloo
https://codereview.chromium.org/2672313004/diff/20001/content/browser/notifications/platform_notification_context_unittest.cc File content/browser/notifications/platform_notification_context_unittest.cc (right): https://codereview.chromium.org/2672313004/diff/20001/content/browser/notifications/platform_notification_context_unittest.cc#newcode516 content/browser/notifications/platform_notification_context_unittest.cc:516: notification_resources.action_icons.resize(notification_data.actions.size()); Why is this line necessary? Neither |notification_data| nor ...
3 years, 10 months ago (2017-02-08 14:05:11 UTC) #11
Miguel Garcia
+Sky for OWNERS on the two new files in content/test. https://codereview.chromium.org/2672313004/diff/20001/content/browser/notifications/platform_notification_context_unittest.cc File content/browser/notifications/platform_notification_context_unittest.cc (right): https://codereview.chromium.org/2672313004/diff/20001/content/browser/notifications/platform_notification_context_unittest.cc#newcode516 ...
3 years, 10 months ago (2017-02-08 17:03:41 UTC) #15
sky
LGTM
3 years, 10 months ago (2017-02-08 17:27:06 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2672313004/40001
3 years, 10 months ago (2017-02-08 17:31:23 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/359653)
3 years, 10 months ago (2017-02-08 17:39:05 UTC) #21
Peter Beverloo
lgtm
3 years, 10 months ago (2017-02-08 17:39:57 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2672313004/40001
3 years, 10 months ago (2017-02-08 17:40:31 UTC) #24
commit-bot: I haz the power
Failed to apply patch for content/shell/browser/layout_test/layout_test_notification_manager.h: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-08 19:58:15 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2672313004/40001
3 years, 10 months ago (2017-02-08 20:03:25 UTC) #28
commit-bot: I haz the power
Failed to apply patch for content/shell/browser/layout_test/layout_test_notification_manager.h: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-08 20:11:35 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2672313004/60001
3 years, 10 months ago (2017-02-08 21:44:17 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/352350)
3 years, 10 months ago (2017-02-08 22:03:44 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2672313004/80001
3 years, 10 months ago (2017-02-09 11:49:57 UTC) #38
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 13:52:29 UTC) #41
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/f3f824cd5032eac3c694bd9b7a5c...

Powered by Google App Engine
This is Rietveld 408576698