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

Unified Diff: content/common/plugin_list_posix.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/common/plugin_list_posix.cc
diff --git a/content/common/plugin_list_posix.cc b/content/common/plugin_list_posix.cc
index 72a931073c41abdf3affa45bb357e78bba99cba8..bd47c1a692693330c06717a4f4edeb95e5c2a9fa 100644
--- a/content/common/plugin_list_posix.cc
+++ b/content/common/plugin_list_posix.cc
@@ -240,7 +240,7 @@ void UnwrapNSPluginWrapper(void **dl, base::FilePath* unwrapped_path) {
return;
}
- std::string error;
+ base::NativeLibraryLoadError error = 0;
void* newdl = base::LoadNativeLibrary(path, &error);
if (!newdl) {
// We couldn't load the unwrapped plugin for some reason, despite

Powered by Google App Engine
This is Rietveld 408576698