summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorn.bansal <n.bansal@samsung.com>2014-08-26 23:51:02 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-27 06:52:52 +0000
commit3c922e3f2152399787cdf8f800c5c7f71af78308 (patch)
tree42776ac6da93926edf88d00f2ae0e0573a5cf5af /chrome/renderer
parent6b5a37cda57d01f0077f7970ef1d14a823075399 (diff)
downloadchromium_src-3c922e3f2152399787cdf8f800c5c7f71af78308.zip
chromium_src-3c922e3f2152399787cdf8f800c5c7f71af78308.tar.gz
chromium_src-3c922e3f2152399787cdf8f800c5c7f71af78308.tar.bz2
OOP PDF - Allow OOP PDF to use histograms
This patch adds libpdf.so to whitelisted plugins so that it can use histograms. Without this patch, an error is displayed every time when Chrome is launched with OOP PDF flag and PDF file is opened. BUG=405305 Review URL: https://codereview.chromium.org/508543002 Cr-Commit-Position: refs/heads/master@{#292109}
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/pepper/pepper_uma_host.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/renderer/pepper/pepper_uma_host.cc b/chrome/renderer/pepper/pepper_uma_host.cc
index 0ce2a40..dbf605bf 100644
--- a/chrome/renderer/pepper/pepper_uma_host.cc
+++ b/chrome/renderer/pepper/pepper_uma_host.cc
@@ -33,7 +33,8 @@ const char* const kWhitelistedHistogramPrefixes[] = {
};
const char* const kWhitelistedPluginBaseNames[] = {
- "libwidevinecdmadapter.so" // see http://crbug.com/368743
+ "libwidevinecdmadapter.so", // see http://crbug.com/368743
+ "libpdf.so" // see http://crbug.com/405305
};
std::string HashPrefix(const std::string& histogram) {