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

Unified Diff: chrome/plugin/chrome_content_plugin_client.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/browser/load_library_perf_test.cc ('k') | chrome/renderer/chrome_render_process_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/chrome_content_plugin_client.cc
diff --git a/chrome/plugin/chrome_content_plugin_client.cc b/chrome/plugin/chrome_content_plugin_client.cc
index 4e1dee7d4b1e43f2835e6bf5feb0d5e140cb386d..1abe0a3fd905db8aa19a7ab4f259f8f2c64dd706 100644
--- a/chrome/plugin/chrome_content_plugin_client.cc
+++ b/chrome/plugin/chrome_content_plugin_client.cc
@@ -30,9 +30,9 @@ void ChromeContentPluginClient::PreSandboxInitialization() {
crypto::EnsureNSSInit();
#elif defined(OS_WIN)
// crypt32.dll is used to decode X509 certificates for Chromoting.
- std::string error;
+ base::NativeLibraryLoadError error;
if (base::LoadNativeLibrary(base::FilePath(L"crypt32.dll"), &error) == NULL)
- LOG(ERROR) << "Failed to load crypto32.dll: " << error;
+ LOG(ERROR) << "Failed to load crypto32.dll: " << error.ToString();
#endif // defined(OS_WIN)
// Load media libraries for the Chromoting client plugin.
« no previous file with comments | « chrome/browser/load_library_perf_test.cc ('k') | chrome/renderer/chrome_render_process_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698