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

Issue 2295593002: [Offline Pages] Check for the appropriate namespace when showing notifications. (Closed)

Created:
4 years, 3 months ago by dewittj
Modified:
4 years, 3 months ago
Reviewers:
Dmitry Titov, fgorski
CC:
chromium-reviews, romax+watch_chromium.org, fgorski+watch_chromium.org, dewittj+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, dimich+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline Pages] Check for the appropriate namespace when showing notifications. Download notifications should only be shown for pages in the namespaces that will be shown in the Download Home. BUG=642019 Committed: https://crrev.com/955a6d528e7c81b0f3023dd9adc3ebdddcfaa294 Cr-Commit-Position: refs/heads/master@{#415444}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename test. #

Total comments: 2

Patch Set 3 : Merge with other namespace checker. #

Patch Set 4 : Add comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -2 lines) Patch
M components/offline_pages/downloads/download_notifying_observer.cc View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M components/offline_pages/downloads/download_notifying_observer_unittest.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M components/offline_pages/downloads/download_ui_adapter.h View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M components/offline_pages/downloads/download_ui_adapter.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (18 generated)
dewittj
ptal, thanks
4 years, 3 months ago (2016-08-30 02:02:19 UTC) #4
fgorski
lgtm https://codereview.chromium.org/2295593002/diff/1/components/offline_pages/downloads/download_notifying_observer_unittest.cc File components/offline_pages/downloads/download_notifying_observer_unittest.cc (right): https://codereview.chromium.org/2295593002/diff/1/components/offline_pages/downloads/download_notifying_observer_unittest.cc#newcode231 components/offline_pages/downloads/download_notifying_observer_unittest.cc:231: TEST_F(DownloadNotifyingObserverTest, VisibleInUI) { nit: NamepsacesNotVisibleInUI
4 years, 3 months ago (2016-08-30 16:21:29 UTC) #8
dewittj
https://codereview.chromium.org/2295593002/diff/1/components/offline_pages/downloads/download_notifying_observer_unittest.cc File components/offline_pages/downloads/download_notifying_observer_unittest.cc (right): https://codereview.chromium.org/2295593002/diff/1/components/offline_pages/downloads/download_notifying_observer_unittest.cc#newcode231 components/offline_pages/downloads/download_notifying_observer_unittest.cc:231: TEST_F(DownloadNotifyingObserverTest, VisibleInUI) { On 2016/08/30 16:21:29, fgorski wrote: > ...
4 years, 3 months ago (2016-08-30 16:29:08 UTC) #9
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/2295593002/20001
4 years, 3 months ago (2016-08-30 16:29:28 UTC) #12
Dmitry Titov
https://codereview.chromium.org/2295593002/diff/20001/components/offline_pages/downloads/download_notifying_observer.cc File components/offline_pages/downloads/download_notifying_observer.cc (right): https://codereview.chromium.org/2295593002/diff/20001/components/offline_pages/downloads/download_notifying_observer.cc#newcode17 components/offline_pages/downloads/download_notifying_observer.cc:17: bool IsVisibleInUI(const ClientId& client_id) { Any reason not to ...
4 years, 3 months ago (2016-08-30 16:35:09 UTC) #14
dewittj
ptal, thanks
4 years, 3 months ago (2016-08-30 16:52:09 UTC) #18
dewittj
https://codereview.chromium.org/2295593002/diff/20001/components/offline_pages/downloads/download_notifying_observer.cc File components/offline_pages/downloads/download_notifying_observer.cc (right): https://codereview.chromium.org/2295593002/diff/20001/components/offline_pages/downloads/download_notifying_observer.cc#newcode17 components/offline_pages/downloads/download_notifying_observer.cc:17: bool IsVisibleInUI(const ClientId& client_id) { On 2016/08/30 16:35:09, Dmitry ...
4 years, 3 months ago (2016-08-30 16:52:24 UTC) #19
Dmitry Titov
lgtm with a nit: I think the IsVisibleinUI function should gain "//static" comment in /cc ...
4 years, 3 months ago (2016-08-30 17:21:14 UTC) #20
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/2295593002/60001
4 years, 3 months ago (2016-08-30 19:59:40 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-30 21:50:20 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 21:53:54 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/955a6d528e7c81b0f3023dd9adc3ebdddcfaa294
Cr-Commit-Position: refs/heads/master@{#415444}

Powered by Google App Engine
This is Rietveld 408576698