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

Issue 300873002: Removed NPAPI plugin infobar, with Finch trial gate (disabled by default). (Closed)

Created:
6 years, 7 months ago by Chris Thompson
Modified:
6 years, 6 months ago
CC:
chromium-reviews, stuartmorgan+watch_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Removed NPAPI plugin infobar, with Finch trial gate (disabled by default). This change is related to the new plugin page action UI https://codereview.chromium.org/319553008/ BUG=307323 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278549

Patch Set 1 #

Patch Set 2 : Change infobar removal group test slightly #

Patch Set 3 : Moved finch trial gate to renderer plugin creator #

Patch Set 4 : Revert plugin_observer, fix name collision in trial code #

Patch Set 5 : Add to renderer field trial list #

Patch Set 6 : Don't block infobar if not NPAPI (so PPAPI goes through) #

Patch Set 7 : Add browser_tests for infobar removal #

Total comments: 3

Patch Set 8 : Added back ASSERTs as EXPECTs for better test debug-ability. #

Total comments: 12

Patch Set 9 : Address review comments #

Total comments: 1

Patch Set 10 : Remove unnecessary comment #

Total comments: 11

Patch Set 11 : Move tests out of renderer, address various reviewer comments #

Total comments: 1

Patch Set 12 : Updated to have dependent upstream CL, switched how field trials are set #

Total comments: 2

Patch Set 13 : Cleaned up fieldtrial tests, re-added field trial list to renderer pre-initialization, made page ac… #

Patch Set 14 : Changing upstream back to origin/master #

Patch Set 15 : Rebased to include new blocking page action UI #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -7 lines) Patch
M chrome/browser/chrome_browser_field_trials.cc View 1 2 3 4 12 1 chunk +1 line, -0 lines 1 comment Download
A chrome/browser/plugins/npapi_infobar_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +112 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 4 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +14 lines, -6 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
radhikabhar
Everything looks good except for 1 thing https://codereview.chromium.org/300873002/diff/120001/chrome/renderer/chrome_content_renderer_client_browsertest.cc File chrome/renderer/chrome_content_renderer_client_browsertest.cc (right): https://codereview.chromium.org/300873002/diff/120001/chrome/renderer/chrome_content_renderer_client_browsertest.cc#newcode124 chrome/renderer/chrome_content_renderer_client_browsertest.cc:124: // ASSERT_TRUE(contents); ...
6 years, 6 months ago (2014-06-06 17:05:40 UTC) #1
Chris Thompson
https://codereview.chromium.org/300873002/diff/120001/chrome/renderer/chrome_content_renderer_client_browsertest.cc File chrome/renderer/chrome_content_renderer_client_browsertest.cc (right): https://codereview.chromium.org/300873002/diff/120001/chrome/renderer/chrome_content_renderer_client_browsertest.cc#newcode124 chrome/renderer/chrome_content_renderer_client_browsertest.cc:124: // ASSERT_TRUE(contents); On 2014/06/06 17:05:40, radhikabhar wrote: > Do ...
6 years, 6 months ago (2014-06-06 17:37:48 UTC) #2
felt
https://codereview.chromium.org/300873002/diff/140001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/300873002/diff/140001/chrome/renderer/chrome_content_renderer_client.cc#newcode808 chrome/renderer/chrome_content_renderer_client.cc:808: // Check to see if old infobar should be ...
6 years, 6 months ago (2014-06-06 22:55:34 UTC) #3
Chris Thompson
https://codereview.chromium.org/300873002/diff/140001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/300873002/diff/140001/chrome/renderer/chrome_content_renderer_client.cc#newcode808 chrome/renderer/chrome_content_renderer_client.cc:808: // Check to see if old infobar should be ...
6 years, 6 months ago (2014-06-06 23:49:37 UTC) #4
felt
one last question, why is NOTRY=true set in the description? that turns off trybots when ...
6 years, 6 months ago (2014-06-06 23:58:12 UTC) #5
Chris Thompson
On 2014/06/06 23:58:12, felt wrote: > one last question, why is NOTRY=true set in the ...
6 years, 6 months ago (2014-06-07 00:03:50 UTC) #6
felt
lgtm, can you ask bauerb@ to review since he's the last one to touch this ...
6 years, 6 months ago (2014-06-07 00:05:41 UTC) #7
Bernhard Bauer
FTR, it's okay to just add new reviewers if you want to have them look ...
6 years, 6 months ago (2014-06-09 17:03:19 UTC) #8
Chris Thompson
On 2014/06/09 17:03:19, Bernhard Bauer wrote: > FTR, it's okay to just add new reviewers ...
6 years, 6 months ago (2014-06-10 02:29:13 UTC) #9
Bernhard Bauer
Also FYI, you can reply to specific comments by clicking on the link, which will ...
6 years, 6 months ago (2014-06-10 08:53:57 UTC) #10
Chris Thompson
On 2014/06/10 08:53:57, Bernhard Bauer wrote: > https://codereview.chromium.org/300873002/diff/180001/chrome/renderer/chrome_content_renderer_client.cc#newcode811 > > > chrome/renderer/chrome_content_renderer_client.cc:811: if (plugin.type != ...
6 years, 6 months ago (2014-06-10 22:49:48 UTC) #11
Bernhard Bauer
LGTM! On 2014/06/10 22:49:48, Chris Thompson wrote: > https://codereview.chromium.org/300873002/diff/180001/chrome/renderer/chrome_content_renderer_client_browsertest.cc#newcode88 > > > > chrome/renderer/chrome_content_renderer_client_browsertest.cc:88: > ...
6 years, 6 months ago (2014-06-11 08:37:29 UTC) #12
Chris Thompson
https://codereview.chromium.org/300873002/diff/220001/chrome/browser/plugins/npapi_infobar_browsertest.cc File chrome/browser/plugins/npapi_infobar_browsertest.cc (right): https://codereview.chromium.org/300873002/diff/220001/chrome/browser/plugins/npapi_infobar_browsertest.cc#newcode90 chrome/browser/plugins/npapi_infobar_browsertest.cc:90: base::FieldTrialList field_trial_list(NULL); On 2014/06/11 08:37:28, Bernhard Bauer wrote: > ...
6 years, 6 months ago (2014-06-11 19:47:10 UTC) #13
Chris Thompson
The CQ bit was checked by cthomp@chromium.org
6 years, 6 months ago (2014-06-19 19:04:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cthomp@chromium.org/300873002/280001
6 years, 6 months ago (2014-06-19 19:05:44 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 19:40:48 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/74903)
6 years, 6 months ago (2014-06-19 19:40:48 UTC) #17
Chris Thompson
sky@ could you PTAL for OWNERS approval? Thanks.
6 years, 6 months ago (2014-06-19 19:51:47 UTC) #18
sky
On 2014/06/19 19:51:47, Chris Thompson wrote: > sky@ could you PTAL for OWNERS approval? Thanks. ...
6 years, 6 months ago (2014-06-19 20:31:07 UTC) #19
Chris Thompson
On 2014/06/19 20:31:07, sky wrote: > On 2014/06/19 19:51:47, Chris Thompson wrote: > > sky@ ...
6 years, 6 months ago (2014-06-19 20:36:21 UTC) #20
Alexei Svitkine (slow)
https://codereview.chromium.org/300873002/diff/280001/chrome/browser/chrome_browser_field_trials.cc File chrome/browser/chrome_browser_field_trials.cc (right): https://codereview.chromium.org/300873002/diff/280001/chrome/browser/chrome_browser_field_trials.cc#newcode64 chrome/browser/chrome_browser_field_trials.cc:64: base::FieldTrialList::FindValue("UnauthorizedPluginInfoBar"); This is no longer needed as you can ...
6 years, 6 months ago (2014-06-19 20:38:22 UTC) #21
Chris Thompson
On 2014/06/19 20:38:22, Alexei Svitkine wrote: > https://codereview.chromium.org/300873002/diff/280001/chrome/browser/chrome_browser_field_trials.cc > File chrome/browser/chrome_browser_field_trials.cc (right): > > https://codereview.chromium.org/300873002/diff/280001/chrome/browser/chrome_browser_field_trials.cc#newcode64 ...
6 years, 6 months ago (2014-06-19 20:40:26 UTC) #22
Alexei Svitkine (slow)
lgtm On 2014/06/19 20:40:26, Chris Thompson wrote: > On 2014/06/19 20:38:22, Alexei Svitkine wrote: > ...
6 years, 6 months ago (2014-06-19 21:07:25 UTC) #23
sky
LGTM
6 years, 6 months ago (2014-06-19 23:12:17 UTC) #24
Chris Thompson
The CQ bit was checked by cthomp@chromium.org
6 years, 6 months ago (2014-06-19 23:28:41 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cthomp@chromium.org/300873002/280001
6 years, 6 months ago (2014-06-19 23:30:44 UTC) #26
commit-bot: I haz the power
Change committed as 278549
6 years, 6 months ago (2014-06-20 00:36:34 UTC) #27
Bernhard Bauer
https://codereview.chromium.org/300873002/diff/280001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): https://codereview.chromium.org/300873002/diff/280001/chrome/chrome_tests.gypi#newcode1301 chrome/chrome_tests.gypi:1301: 'browser/plugins/npapi_infobar_browsertest.cc', Wait, why is this in here twice now? ...
6 years, 6 months ago (2014-06-20 10:43:40 UTC) #28
limasdf
https://codereview.chromium.org/300873002/diff/280001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): https://codereview.chromium.org/300873002/diff/280001/chrome/chrome_tests.gypi#newcode1301 chrome/chrome_tests.gypi:1301: 'browser/plugins/npapi_infobar_browsertest.cc', On 2014/06/20 10:43:40, Bernhard Bauer wrote: > Wait, ...
6 years, 6 months ago (2014-06-20 14:10:16 UTC) #29
Chris Thompson
6 years, 6 months ago (2014-06-20 17:01:44 UTC) #30
Message was sent while issue was closed.
I've made a new CL to fix the duplicate include and these style mistakes:
https://codereview.chromium.org/345173002 (and set sky@ as reviewer for it
again, but if any of you want to double check it feel free).

https://codereview.chromium.org/300873002/diff/280001/chrome/chrome_tests.gypi
File chrome/chrome_tests.gypi (right):

https://codereview.chromium.org/300873002/diff/280001/chrome/chrome_tests.gyp...
chrome/chrome_tests.gypi:1301: 'browser/plugins/npapi_infobar_browsertest.cc',
On 2014/06/20 10:43:40, Bernhard Bauer wrote:
> Wait, why is this in here twice now?
> 
> Also, there's a tab character.

My mistake when adding them to the build. This should only be a normal
browser_test.

And apparently my Vim config doesn't understand JSON.

https://codereview.chromium.org/300873002/diff/280001/chrome/chrome_tests.gyp...
chrome/chrome_tests.gypi:1301: 'browser/plugins/npapi_infobar_browsertest.cc',
On 2014/06/20 14:10:16, limasdf wrote:
> On 2014/06/20 10:43:40, Bernhard Bauer wrote:
> > Wait, why is this in here twice now?
> > 
> > Also, there's a tab character.
> 
> and This should be alphabetically ordered.

Forgot to move it when I changed the parent folder for the test.

Powered by Google App Engine
This is Rietveld 408576698