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

Issue 10910168: Separate plugin_metadata from plugin_installer, thread-safe plugin_finder (Closed)

Created:
8 years, 3 months ago by ibraaaa
Modified:
8 years, 2 months ago
Reviewers:
Bernhard Bauer, jam
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, darin-cc_chromium.org, jam, stuartmorgan+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Separate plugin_metadata from plugin_installer, make plugin_finder thread-safe and expose its sync interface BUG=124396 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158679

Patch Set 1 #

Patch Set 2 : . #

Total comments: 3

Patch Set 3 : .. #

Total comments: 9

Patch Set 4 : . #

Patch Set 5 : bauerb@ comments #

Patch Set 6 : bauerb@ .. #

Total comments: 6

Patch Set 7 : remove custom traits and remove calls to FindPluginMetadataWithIdentifier #

Patch Set 8 : fix plugin_metadata_unittest for mac and linux #

Patch Set 9 : fix win compilation error #

Patch Set 10 : fix policy tests #

Total comments: 8

Patch Set 11 : other fix to policy tests #

Patch Set 12 : ... #

Patch Set 13 : ................. #

Patch Set 14 : . #

Patch Set 15 : .. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+395 lines, -480 lines) Patch
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/content_settings/content_settings_api.h View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/content_settings/content_settings_api.cc View 1 2 3 4 5 1 chunk +7 lines, -9 lines 0 comments Download
M chrome/browser/plugins/plugin_finder.h View 1 2 3 4 5 6 5 chunks +38 lines, -16 lines 0 comments Download
M chrome/browser/plugins/plugin_finder.cc View 1 2 3 4 5 6 8 chunks +82 lines, -111 lines 0 comments Download
M chrome/browser/plugins/plugin_finder_unittest.cc View 1 2 3 4 5 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/plugins/plugin_installer.h View 1 2 3 4 5 4 chunks +10 lines, -45 lines 0 comments Download
M chrome/browser/plugins/plugin_installer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +7 lines, -78 lines 0 comments Download
A + chrome/browser/plugins/plugin_metadata.h View 1 2 3 4 5 5 chunks +19 lines, -67 lines 0 comments Download
A chrome/browser/plugins/plugin_metadata.cc View 1 2 3 4 5 1 chunk +85 lines, -0 lines 0 comments Download
A chrome/browser/plugins/plugin_metadata_unittest.cc View 1 2 3 4 5 6 7 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/browser/plugins/plugin_prefs.h View 1 2 3 4 5 3 chunks +1 line, -20 lines 0 comments Download
M chrome/browser/plugins/plugin_prefs.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +30 lines, -50 lines 0 comments Download
M chrome/browser/renderer_host/plugin_info_message_filter.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/plugin_info_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +11 lines, -21 lines 0 comments Download
M chrome/browser/ui/pdf/pdf_unsupported_feature.cc View 1 2 3 4 5 6 7 8 5 chunks +10 lines, -18 lines 0 comments Download
M chrome/browser/ui/webui/plugins_ui.cc View 1 2 3 4 5 6 6 chunks +18 lines, -32 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
ibraaaa
I have one more suggestion that we could augment in here. If you looked at ...
8 years, 3 months ago (2012-09-11 09:43:34 UTC) #1
ibraaaa
http://codereview.chromium.org/10910168/diff/2001/chrome/browser/plugin_installer.h File chrome/browser/plugin_installer.h (right): http://codereview.chromium.org/10910168/diff/2001/chrome/browser/plugin_installer.h#newcode50 chrome/browser/plugin_installer.h:50: const std::string& identifier() const { return plugin_->identifier(); } Or ...
8 years, 3 months ago (2012-09-11 12:44:10 UTC) #2
Bernhard Bauer
http://codereview.chromium.org/10910168/diff/5002/chrome/browser/plugin_finder.cc File chrome/browser/plugin_finder.cc (right): http://codereview.chromium.org/10910168/diff/5002/chrome/browser/plugin_finder.cc#newcode80 chrome/browser/plugin_finder.cc:80: void PluginFinder::Init() { Why don't we do this in ...
8 years, 3 months ago (2012-09-17 15:34:34 UTC) #3
ibraaaa
http://codereview.chromium.org/10910168/diff/5002/chrome/browser/plugin_finder.cc File chrome/browser/plugin_finder.cc (right): http://codereview.chromium.org/10910168/diff/5002/chrome/browser/plugin_finder.cc#newcode80 chrome/browser/plugin_finder.cc:80: void PluginFinder::Init() { well, I remember that the style ...
8 years, 3 months ago (2012-09-17 16:12:56 UTC) #4
ibraaaa
Depends on this CL: http://codereview.chromium.org/10951029/
8 years, 3 months ago (2012-09-20 16:55:14 UTC) #5
Bernhard Bauer
http://codereview.chromium.org/10910168/diff/5002/chrome/browser/plugin_finder.cc File chrome/browser/plugin_finder.cc (right): http://codereview.chromium.org/10910168/diff/5002/chrome/browser/plugin_finder.cc#newcode183 chrome/browser/plugin_finder.cc:183: PluginMetadata* PluginFinder::FindPluginMetadataWithIdentifier( On 2012/09/17 16:12:56, ibraaaa wrote: > Well, ...
8 years, 3 months ago (2012-09-20 17:05:10 UTC) #6
Bernhard Bauer
http://codereview.chromium.org/10910168/diff/5002/chrome/browser/plugin_finder.cc File chrome/browser/plugin_finder.cc (right): http://codereview.chromium.org/10910168/diff/5002/chrome/browser/plugin_finder.cc#newcode80 chrome/browser/plugin_finder.cc:80: void PluginFinder::Init() { On 2012/09/17 16:12:56, ibraaaa wrote: > ...
8 years, 3 months ago (2012-09-20 17:13:02 UTC) #7
ibraaaa
https://chromiumcodereview.appspot.com/10910168/diff/5002/chrome/browser/plugin_finder.cc File chrome/browser/plugin_finder.cc (right): https://chromiumcodereview.appspot.com/10910168/diff/5002/chrome/browser/plugin_finder.cc#newcode80 chrome/browser/plugin_finder.cc:80: void PluginFinder::Init() { On 2012/09/20 17:13:02, Bernhard Bauer wrote: ...
8 years, 3 months ago (2012-09-21 14:11:46 UTC) #8
Bernhard Bauer
LGTM w/ nits: https://chromiumcodereview.appspot.com/10910168/diff/17002/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): https://chromiumcodereview.appspot.com/10910168/diff/17002/chrome/browser/browser_process_impl.cc#newcode796 chrome/browser/browser_process_impl.cc:796: // Triggers initialization of the singleton ...
8 years, 3 months ago (2012-09-24 09:14:25 UTC) #9
ibraaaa
Bernhard, PTAL. I removed callers of FindPluginMetadataWithIdentifier. I am going to update it in this ...
8 years, 3 months ago (2012-09-24 11:01:07 UTC) #10
Bernhard Bauer
still lgtm
8 years, 3 months ago (2012-09-24 11:10:59 UTC) #11
ibraaaa
Hi John, Can I have an OWNERS review for this CL. Everything except chrome/browser/plugins/ Thanks!
8 years, 3 months ago (2012-09-24 11:16:48 UTC) #12
jam
lgtm
8 years, 2 months ago (2012-09-24 15:29:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/22061
8 years, 2 months ago (2012-09-24 16:03:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/21003
8 years, 2 months ago (2012-09-24 16:41:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/24027
8 years, 2 months ago (2012-09-24 16:56:35 UTC) #16
ibraaaa
Bernhard, all browser policy tests for plugins were failing because our update to PluginPrefs#EnablePlugin no ...
8 years, 2 months ago (2012-09-24 17:57:09 UTC) #17
Bernhard Bauer
http://codereview.chromium.org/10910168/diff/30012/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (left): http://codereview.chromium.org/10910168/diff/30012/chrome/browser/policy/policy_browsertest.cc#oldcode285 chrome/browser/policy/policy_browsertest.cc:285: plugin_prefs->EnablePlugin(enabled, plugin->path, Wait, I don't understand. We call the ...
8 years, 2 months ago (2012-09-24 18:06:04 UTC) #18
ibraaaa
http://codereview.chromium.org/10910168/diff/30012/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (left): http://codereview.chromium.org/10910168/diff/30012/chrome/browser/policy/policy_browsertest.cc#oldcode285 chrome/browser/policy/policy_browsertest.cc:285: plugin_prefs->EnablePlugin(enabled, plugin->path, Yes, that is the reason we are ...
8 years, 2 months ago (2012-09-24 18:18:36 UTC) #19
Bernhard Bauer
http://codereview.chromium.org/10910168/diff/30012/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (left): http://codereview.chromium.org/10910168/diff/30012/chrome/browser/policy/policy_browsertest.cc#oldcode285 chrome/browser/policy/policy_browsertest.cc:285: plugin_prefs->EnablePlugin(enabled, plugin->path, On 2012/09/24 18:18:36, ibraaaa wrote: > Yes, ...
8 years, 2 months ago (2012-09-24 18:27:31 UTC) #20
ibraaaa
http://codereview.chromium.org/10910168/diff/30012/chrome/browser/policy/policy_browsertest.cc File chrome/browser/policy/policy_browsertest.cc (left): http://codereview.chromium.org/10910168/diff/30012/chrome/browser/policy/policy_browsertest.cc#oldcode285 chrome/browser/policy/policy_browsertest.cc:285: plugin_prefs->EnablePlugin(enabled, plugin->path, Well, I am fine but why do ...
8 years, 2 months ago (2012-09-24 18:31:26 UTC) #21
ibraaaa
http://codereview.chromium.org/10910168/diff/30012/chrome/browser/plugins/plugin_prefs.cc File chrome/browser/plugins/plugin_prefs.cc (right): http://codereview.chromium.org/10910168/diff/30012/chrome/browser/plugins/plugin_prefs.cc#newcode164 chrome/browser/plugins/plugin_prefs.cc:164: callback.Run(false); Do you mean calling this callback by MessageLoop::Current()->PostTask ...
8 years, 2 months ago (2012-09-24 19:10:21 UTC) #22
Bernhard Bauer
http://codereview.chromium.org/10910168/diff/30012/chrome/browser/plugins/plugin_prefs.cc File chrome/browser/plugins/plugin_prefs.cc (right): http://codereview.chromium.org/10910168/diff/30012/chrome/browser/plugins/plugin_prefs.cc#newcode164 chrome/browser/plugins/plugin_prefs.cc:164: callback.Run(false); On 2012/09/24 19:10:21, ibraaaa wrote: > Do you ...
8 years, 2 months ago (2012-09-24 19:34:28 UTC) #23
ibraaaa
8 years, 2 months ago (2012-09-24 19:58:48 UTC) #24
ibraaaa
http://codereview.chromium.org/10910168/diff/30012/chrome/browser/plugins/plugin_prefs.cc File chrome/browser/plugins/plugin_prefs.cc (right): http://codereview.chromium.org/10910168/diff/30012/chrome/browser/plugins/plugin_prefs.cc#newcode164 chrome/browser/plugins/plugin_prefs.cc:164: callback.Run(false); On 2012/09/24 19:34:28, Bernhard Bauer wrote: > On ...
8 years, 2 months ago (2012-09-24 20:07:13 UTC) #25
Bernhard Bauer
LGTM
8 years, 2 months ago (2012-09-24 20:09:32 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/21006
8 years, 2 months ago (2012-09-24 20:12:29 UTC) #27
commit-bot: I haz the power
Failed to apply patch for chrome/browser/renderer_host/plugin_info_message_filter.cc: While running patch -p1 --forward --force; patching file chrome/browser/renderer_host/plugin_info_message_filter.cc ...
8 years, 2 months ago (2012-09-24 20:12:38 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/37001
8 years, 2 months ago (2012-09-24 20:32:19 UTC) #29
commit-bot: I haz the power
Retried try job too often for step(s) compile
8 years, 2 months ago (2012-09-24 20:38:09 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/46003
8 years, 2 months ago (2012-09-24 20:46:30 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/49003
8 years, 2 months ago (2012-09-24 20:54:17 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/38044
8 years, 2 months ago (2012-09-24 22:07:47 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/38044
8 years, 2 months ago (2012-09-24 22:59:54 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/54020
8 years, 2 months ago (2012-09-25 17:29:04 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/54020
8 years, 2 months ago (2012-09-25 19:56:03 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/44004
8 years, 2 months ago (2012-09-25 20:03:44 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ibraaaa@google.com/10910168/44004
8 years, 2 months ago (2012-09-25 21:24:00 UTC) #38
commit-bot: I haz the power
8 years, 2 months ago (2012-09-25 23:06:04 UTC) #39
Change committed as 158679

Powered by Google App Engine
This is Rietveld 408576698