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

Issue 2109033002: Cleanup usage of WebApkValidator in notification code (Closed)

Created:
4 years, 5 months ago by pkotwicz
Modified:
4 years, 5 months ago
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org, Yaron, Xi Han
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup usage of WebApkValidator in notification code This CL: - Makes calls to WebApkValidator#queryWebApkPackage() and WebApkValidator#findWebApkPackage() call WebApkValidator#isValidWebApk(). - Removes WebApkValidator#queryWebApkPackage() call from NotificationPlatformBridge#dispatchNotificationEvent(). The check is unnecessary because org.chromium.chrome.browser.notifications.NotificationService is not exported. BUG=613024 Committed: https://crrev.com/82d265d97abff26f8ed3e432c63ee2fcfd456e99 Cr-Commit-Position: refs/heads/master@{#403816}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Merge branch 'master' into notification_platform_bridge #

Total comments: 2

Messages

Total messages: 24 (9 generated)
pkotwicz
rsesek@ can you please check whether my reasoning is sound? https://codereview.chromium.org/2109033002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java (right): https://codereview.chromium.org/2109033002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java#newcode171 ...
4 years, 5 months ago (2016-06-29 03:40:59 UTC) #3
Robert Sesek
https://codereview.chromium.org/2109033002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java (right): https://codereview.chromium.org/2109033002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java#newcode171 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java:171: private String queryWebApkPackage(String url) { On 2016/06/29 03:40:59, pkotwicz ...
4 years, 5 months ago (2016-06-29 19:19:20 UTC) #4
pkotwicz
Robert can you please take another look? I have changed WebApkValidator#queryWebApkPackage() and WebApkValidator#findWebApkPackage() to call ...
4 years, 5 months ago (2016-06-30 02:30:01 UTC) #5
Robert Sesek
LGTM
4 years, 5 months ago (2016-06-30 20:19:57 UTC) #6
pkotwicz
Xi can you please take a look?
4 years, 5 months ago (2016-06-30 20:42:25 UTC) #9
Xi Han
lgtm
4 years, 5 months ago (2016-07-05 14:38:38 UTC) #10
Peter Beverloo
notifications lgtm
4 years, 5 months ago (2016-07-05 14:40:57 UTC) #12
pkotwicz
yfriedman@ for chrome/android/java OWNERS rubber stamp
4 years, 5 months ago (2016-07-05 15:31:13 UTC) #14
Yaron
https://codereview.chromium.org/2109033002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java (right): https://codereview.chromium.org/2109033002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java#newcode209 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java:209: NotificationConstants.EXTRA_NOTIFICATION_INFO_WEBAPK_PACKAGE); Is this reason can trust the intent extra ...
4 years, 5 months ago (2016-07-05 18:07:43 UTC) #15
pkotwicz
https://codereview.chromium.org/2109033002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java File chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java (right): https://codereview.chromium.org/2109033002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java#newcode209 chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java:209: NotificationConstants.EXTRA_NOTIFICATION_INFO_WEBAPK_PACKAGE); Yes. This is my understanding of how Android ...
4 years, 5 months ago (2016-07-05 18:09:39 UTC) #16
Yaron
lgtm
4 years, 5 months ago (2016-07-05 18:15:12 UTC) #17
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/2109033002/20001
4 years, 5 months ago (2016-07-05 18:53:23 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-05 19:39:00 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-05 19:39:01 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-07-05 19:40:28 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/82d265d97abff26f8ed3e432c63ee2fcfd456e99
Cr-Commit-Position: refs/heads/master@{#403816}

Powered by Google App Engine
This is Rietveld 408576698