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

Unified Diff: content/child/npapi/plugin_lib.cc

Issue 206713004: Report PPAPI plugin load error code to UMA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: BASE_EXPORT 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
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.cc ('k') | content/common/plugin_list_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_lib.cc
diff --git a/content/child/npapi/plugin_lib.cc b/content/child/npapi/plugin_lib.cc
index 8722d6379b7852427e83c53fe56d23b775dcc415..9df2f589bb7a741b2c440f3e8573a99b9770d61c 100644
--- a/content/child/npapi/plugin_lib.cc
+++ b/content/child/npapi/plugin_lib.cc
@@ -171,7 +171,7 @@ bool PluginLib::Load() {
bool rv = false;
base::NativeLibrary library = 0;
- std::string error;
+ base::NativeLibraryLoadError error;
#if defined(OS_WIN)
// This is to work around a bug in the Real player recorder plugin which
@@ -193,7 +193,7 @@ bool PluginLib::Load() {
if (!library) {
LOG_IF(ERROR, PluginList::DebugPluginLoading())
<< "Couldn't load plugin " << web_plugin_info_.path.value() << " "
- << error;
+ << error.ToString();
return rv;
}
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.cc ('k') | content/common/plugin_list_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698