summaryrefslogtreecommitdiffstats
path: root/content/zygote
diff options
context:
space:
mode:
authorihf@chromium.org <ihf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-10 09:14:47 +0000
committerihf@chromium.org <ihf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-10 09:14:47 +0000
commit132bca8c3ea90a9b3a19af613339abf459cb8633 (patch)
treee6d821fc367e2bb5c2ce8c1bbe8cd80f18151937 /content/zygote
parent6132f069acd71b9275bed974a5e0b8a6ab9d909a (diff)
downloadchromium_src-132bca8c3ea90a9b3a19af613339abf459cb8633.zip
chromium_src-132bca8c3ea90a9b3a19af613339abf459cb8633.tar.gz
chromium_src-132bca8c3ea90a9b3a19af613339abf459cb8633.tar.bz2
Instrument pepper plugin load failures.
ChromeOS experiences an increased failure to load Pepper Flash plugins. To help investigate these failures in the field increase logging. Also disallow npapi plugin generation on ChromeOS as a fallback. We don't need a zombie process when this failure happens. BUG=chromium:314301 TEST=kill -stop, reload, kill -9 ppapi process on Pixel. Review URL: https://codereview.chromium.org/103623003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239740 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/zygote')
-rw-r--r--content/zygote/zygote_main_linux.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/content/zygote/zygote_main_linux.cc b/content/zygote/zygote_main_linux.cc
index 1d32ab0..9189321 100644
--- a/content/zygote/zygote_main_linux.cc
+++ b/content/zygote/zygote_main_linux.cc
@@ -262,9 +262,10 @@ void PreloadPepperPlugins() {
std::string error;
base::NativeLibrary library = base::LoadNativeLibrary(plugins[i].path,
&error);
- DLOG_IF(WARNING, !library) << "Unable to load plugin "
- << plugins[i].path.value() << " "
- << error;
+ VLOG_IF(1, !library) << "Unable to load plugin "
+ << plugins[i].path.value() << " "
+ << error;
+
(void)library; // Prevent release-mode warning.
}
}