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

Issue 128773002: Restart plugin loading only if the plugin list has actually become stale. (Closed)

Created:
6 years, 11 months ago by Bernhard Bauer
Modified:
6 years, 11 months ago
Reviewers:
Robert Sesek, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Restart plugin loading only if the plugin list has actually become stale. BUG=171404 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247252

Patch Set 1 #

Patch Set 2 : x #

Patch Set 3 : x #

Total comments: 9

Patch Set 4 : review #

Total comments: 9

Patch Set 5 : review #

Patch Set 6 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -95 lines) Patch
M chrome/browser/plugins/plugin_prefs_unittest.cc View 1 2 3 4 5 3 chunks +2 lines, -4 lines 0 comments Download
M content/browser/plugin_loader_posix.h View 1 2 3 4 5 chunks +10 lines, -15 lines 0 comments Download
M content/browser/plugin_loader_posix.cc View 1 2 3 4 3 chunks +41 lines, -29 lines 0 comments Download
M content/browser/plugin_loader_posix_unittest.cc View 1 2 10 chunks +39 lines, -15 lines 0 comments Download
M content/browser/plugin_service_impl.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 1 2 3 chunks +26 lines, -14 lines 0 comments Download
M content/common/plugin_list.h View 1 chunk +7 lines, -0 lines 0 comments Download
M content/common/plugin_list.cc View 1 3 chunks +17 lines, -18 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Bernhard Bauer
Please review.
6 years, 11 months ago (2014-01-20 17:23:08 UTC) #1
Robert Sesek
https://codereview.chromium.org/128773002/diff/150001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): https://codereview.chromium.org/128773002/diff/150001/content/browser/plugin_loader_posix.cc#newcode40 content/browser/plugin_loader_posix.cc:40: PluginList::Singleton()->PrepareForPluginLoading(); Why can't this just be RefreshPlugins? https://codereview.chromium.org/128773002/diff/150001/content/browser/plugin_loader_posix.h File ...
6 years, 11 months ago (2014-01-21 15:17:21 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/128773002/diff/150001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): https://codereview.chromium.org/128773002/diff/150001/content/browser/plugin_loader_posix.cc#newcode40 content/browser/plugin_loader_posix.cc:40: PluginList::Singleton()->PrepareForPluginLoading(); On 2014/01/21 15:17:22, rsesek wrote: > Why can't ...
6 years, 11 months ago (2014-01-21 15:48:25 UTC) #3
Robert Sesek
https://codereview.chromium.org/128773002/diff/150001/content/common/plugin_list.h File content/common/plugin_list.h (right): https://codereview.chromium.org/128773002/diff/150001/content/common/plugin_list.h#newcode143 content/common/plugin_list.h:143: // loading plugins with a different instance of this ...
6 years, 11 months ago (2014-01-21 20:58:18 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/128773002/diff/270001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): https://codereview.chromium.org/128773002/diff/270001/content/browser/plugin_loader_posix.cc#newcode146 content/browser/plugin_loader_posix.cc:146: const std::vector<WebPluginInfo>& /* plugins */) { On 2014/01/21 20:58:18, ...
6 years, 11 months ago (2014-01-21 23:02:11 UTC) #5
Bernhard Bauer
John, can you take a look? https://codereview.chromium.org/128773002/diff/270001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): https://codereview.chromium.org/128773002/diff/270001/content/browser/plugin_loader_posix.cc#newcode146 content/browser/plugin_loader_posix.cc:146: const std::vector<WebPluginInfo>& /* ...
6 years, 11 months ago (2014-01-22 14:10:20 UTC) #6
jam
https://codereview.chromium.org/128773002/diff/270001/content/common/plugin_list.cc File content/common/plugin_list.cc (right): https://codereview.chromium.org/128773002/diff/270001/content/common/plugin_list.cc#newcode178 content/common/plugin_list.cc:178: if (loading_state_ == LOADING_STATE_UP_TO_DATE) On 2014/01/21 23:02:11, Bernhard Bauer ...
6 years, 11 months ago (2014-01-23 01:43:09 UTC) #7
Bernhard Bauer
https://codereview.chromium.org/128773002/diff/270001/content/common/plugin_list.cc File content/common/plugin_list.cc (right): https://codereview.chromium.org/128773002/diff/270001/content/common/plugin_list.cc#newcode178 content/common/plugin_list.cc:178: if (loading_state_ == LOADING_STATE_UP_TO_DATE) On 2014/01/23 01:43:09, jam wrote: ...
6 years, 11 months ago (2014-01-23 17:35:31 UTC) #8
jam
https://codereview.chromium.org/128773002/diff/270001/content/common/plugin_list.cc File content/common/plugin_list.cc (right): https://codereview.chromium.org/128773002/diff/270001/content/common/plugin_list.cc#newcode178 content/common/plugin_list.cc:178: if (loading_state_ == LOADING_STATE_UP_TO_DATE) On 2014/01/23 17:35:31, Bernhard Bauer ...
6 years, 11 months ago (2014-01-23 17:57:47 UTC) #9
Bernhard Bauer
https://codereview.chromium.org/128773002/diff/270001/content/common/plugin_list.cc File content/common/plugin_list.cc (right): https://codereview.chromium.org/128773002/diff/270001/content/common/plugin_list.cc#newcode178 content/common/plugin_list.cc:178: if (loading_state_ == LOADING_STATE_UP_TO_DATE) On 2014/01/23 17:57:47, jam wrote: ...
6 years, 11 months ago (2014-01-23 18:17:46 UTC) #10
jam
On 2014/01/23 18:17:46, Bernhard Bauer wrote: > https://codereview.chromium.org/128773002/diff/270001/content/common/plugin_list.cc > File content/common/plugin_list.cc (right): > > https://codereview.chromium.org/128773002/diff/270001/content/common/plugin_list.cc#newcode178 ...
6 years, 11 months ago (2014-01-23 21:17:47 UTC) #11
Bernhard Bauer
On 2014/01/23 21:17:47, jam wrote: > I'm not following exactly which things you're referring to. ...
6 years, 11 months ago (2014-01-23 21:48:52 UTC) #12
jam
On 2014/01/23 21:48:52, Bernhard Bauer wrote: > On 2014/01/23 21:17:47, jam wrote: > > I'm ...
6 years, 11 months ago (2014-01-24 21:19:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/128773002/330001
6 years, 11 months ago (2014-01-24 22:47:41 UTC) #14
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=216237
6 years, 11 months ago (2014-01-24 23:54:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/128773002/700001
6 years, 11 months ago (2014-01-27 15:15:25 UTC) #16
commit-bot: I haz the power
6 years, 11 months ago (2014-01-27 16:56:36 UTC) #17
Message was sent while issue was closed.
Change committed as 247252

Powered by Google App Engine
This is Rietveld 408576698