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

Issue 2266653002: Previews infobar tests (Closed)

Created:
4 years, 4 months ago by megjablon
Modified:
4 years, 3 months ago
Reviewers:
bengr, engedy, clamy, nasko
CC:
chromium-reviews, battre
Base URL:
https://chromium.googlesource.com/chromium/src.git@newLoFiInfoBarAddUMA
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Previews infobar tests Unit tests for both the PreviewsInfoBarDelegate and PreviewsInfoBarTabHelper. Verfies that the infobar shows with the correct strings and only shows once for a page. BUG=615566 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/c38aa26f9df508479d57a93c8db3dd424541b869 Cr-Commit-Position: refs/heads/master@{#418617}

Patch Set 1 #

Total comments: 4

Patch Set 2 : clamy comments #

Total comments: 8

Patch Set 3 : bengr comments #

Patch Set 4 : rebase #

Total comments: 10

Patch Set 5 : format tests #

Patch Set 6 : bengr comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+412 lines, -19 lines) Patch
M chrome/browser/previews/previews_infobar_delegate.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/previews/previews_infobar_delegate.cc View 1 2 1 chunk +4 lines, -14 lines 0 comments Download
A chrome/browser/previews/previews_infobar_delegate_unittest.cc View 1 2 3 4 5 1 chunk +252 lines, -0 lines 0 comments Download
M chrome/browser/previews/previews_infobar_tab_helper.h View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/previews/previews_infobar_tab_helper_unittest.cc View 1 2 3 4 5 1 chunk +104 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_handle_impl.h View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_handle_impl.cc View 1 2 3 2 chunks +27 lines, -2 lines 0 comments Download
M content/public/browser/navigation_handle.h View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 55 (37 generated)
megjablon
4 years, 3 months ago (2016-09-08 00:58:01 UTC) #8
megjablon
+avi for content/*
4 years, 3 months ago (2016-09-08 01:25:10 UTC) #12
Avi (use Gerrit)
NavHandle -> Nasko/Camille.
4 years, 3 months ago (2016-09-08 01:43:35 UTC) #14
clamy
Thanks! A few comments on the content/ public interface. https://codereview.chromium.org/2266653002/diff/140001/content/public/browser/navigation_handle.h File content/public/browser/navigation_handle.h (right): https://codereview.chromium.org/2266653002/diff/140001/content/public/browser/navigation_handle.h#newcode216 content/public/browser/navigation_handle.h:216: ...
4 years, 3 months ago (2016-09-08 13:11:07 UTC) #17
megjablon
https://chromiumcodereview.appspot.com/2266653002/diff/140001/content/public/browser/navigation_handle.h File content/public/browser/navigation_handle.h (right): https://chromiumcodereview.appspot.com/2266653002/diff/140001/content/public/browser/navigation_handle.h#newcode216 content/public/browser/navigation_handle.h:216: bool same_page, On 2016/09/08 13:11:07, clamy wrote: > I ...
4 years, 3 months ago (2016-09-08 18:15:25 UTC) #18
clamy
Thanks! content/ lgtm.
4 years, 3 months ago (2016-09-09 14:34:04 UTC) #19
megjablon
battre: subresource_filter
4 years, 3 months ago (2016-09-09 17:16:50 UTC) #21
bengr
https://codereview.chromium.org/2266653002/diff/160001/chrome/browser/previews/previews_infobar_delegate_unittest.cc File chrome/browser/previews/previews_infobar_delegate_unittest.cc (right): https://codereview.chromium.org/2266653002/diff/160001/chrome/browser/previews/previews_infobar_delegate_unittest.cc#newcode44 chrome/browser/previews/previews_infobar_delegate_unittest.cc:44: enum PreviewsInfoBarAction { This is defined elsewhere, too right? ...
4 years, 3 months ago (2016-09-09 19:40:52 UTC) #22
megjablon
https://chromiumcodereview.appspot.com/2266653002/diff/160001/chrome/browser/previews/previews_infobar_delegate_unittest.cc File chrome/browser/previews/previews_infobar_delegate_unittest.cc (right): https://chromiumcodereview.appspot.com/2266653002/diff/160001/chrome/browser/previews/previews_infobar_delegate_unittest.cc#newcode44 chrome/browser/previews/previews_infobar_delegate_unittest.cc:44: enum PreviewsInfoBarAction { On 2016/09/09 19:40:52, bengr wrote: > ...
4 years, 3 months ago (2016-09-09 20:38:41 UTC) #24
megjablon
On 2016/09/09 20:38:41, megjablon wrote: > https://chromiumcodereview.appspot.com/2266653002/diff/160001/chrome/browser/previews/previews_infobar_delegate_unittest.cc > File chrome/browser/previews/previews_infobar_delegate_unittest.cc (right): > > https://chromiumcodereview.appspot.com/2266653002/diff/160001/chrome/browser/previews/previews_infobar_delegate_unittest.cc#newcode44 > ...
4 years, 3 months ago (2016-09-12 20:24:47 UTC) #25
megjablon
+engedy: subresource_filter in place of battre
4 years, 3 months ago (2016-09-13 21:45:50 UTC) #28
bengr
lgtm with nits https://codereview.chromium.org/2266653002/diff/220001/chrome/browser/previews/previews_infobar_delegate_unittest.cc File chrome/browser/previews/previews_infobar_delegate_unittest.cc (right): https://codereview.chromium.org/2266653002/diff/220001/chrome/browser/previews/previews_infobar_delegate_unittest.cc#newcode97 chrome/browser/previews/previews_infobar_delegate_unittest.cc:97: std::unique_ptr<data_reduction_proxy::DataReductionProxyTestContext> #include <memory> https://codereview.chromium.org/2266653002/diff/220001/chrome/browser/previews/previews_infobar_tab_helper_unittest.cc File chrome/browser/previews/previews_infobar_tab_helper_unittest.cc ...
4 years, 3 months ago (2016-09-13 23:18:18 UTC) #31
megjablon
https://chromiumcodereview.appspot.com/2266653002/diff/220001/chrome/browser/previews/previews_infobar_delegate_unittest.cc File chrome/browser/previews/previews_infobar_delegate_unittest.cc (right): https://chromiumcodereview.appspot.com/2266653002/diff/220001/chrome/browser/previews/previews_infobar_delegate_unittest.cc#newcode97 chrome/browser/previews/previews_infobar_delegate_unittest.cc:97: std::unique_ptr<data_reduction_proxy::DataReductionProxyTestContext> On 2016/09/13 23:18:18, bengr wrote: > #include <memory> ...
4 years, 3 months ago (2016-09-13 23:27:12 UTC) #33
engedy
components/subresource_filter LGTM.
4 years, 3 months ago (2016-09-14 08:20:08 UTC) #40
commit-bot: I haz the power
This CL has an open dependency (Issue 2258283002 Patch 80001). Please resolve the dependency and ...
4 years, 3 months ago (2016-09-14 16:56:47 UTC) #48
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/2266653002/260001
4 years, 3 months ago (2016-09-14 17:35:14 UTC) #51
commit-bot: I haz the power
Committed patchset #6 (id:260001)
4 years, 3 months ago (2016-09-14 18:27:12 UTC) #53
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 18:28:56 UTC) #55
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c38aa26f9df508479d57a93c8db3dd424541b869
Cr-Commit-Position: refs/heads/master@{#418617}

Powered by Google App Engine
This is Rietveld 408576698