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

Unified Diff: content/zygote/zygote_main_linux.cc

Issue 206713004: Report PPAPI plugin load error code to UMA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use std::string directly. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/zygote/zygote_main_linux.cc
diff --git a/content/zygote/zygote_main_linux.cc b/content/zygote/zygote_main_linux.cc
index f6c32f92e000d0ecb0b137d6775bdf6daafbfae1..1dfcc5e9310fc8c54be065c66e9319f20aeb8195 100644
--- a/content/zygote/zygote_main_linux.cc
+++ b/content/zygote/zygote_main_linux.cc
@@ -292,7 +292,7 @@ void PreloadPepperPlugins() {
ComputePepperPluginList(&plugins);
for (size_t i = 0; i < plugins.size(); ++i) {
if (!plugins[i].is_internal && plugins[i].is_sandboxed) {
- std::string error;
+ base::NativeLibraryLoadError error = 0;
base::NativeLibrary library = base::LoadNativeLibrary(plugins[i].path,
&error);
VLOG_IF(1, !library) << "Unable to load plugin "

Powered by Google App Engine
This is Rietveld 408576698