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

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: 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: 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..a16fa163cff28caf30dc47cd9d26db1575034523 100644
--- a/chrome/plugin/chrome_content_plugin_client.cc
+++ b/chrome/plugin/chrome_content_plugin_client.cc
@@ -30,7 +30,7 @@ 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 = 0;
if (base::LoadNativeLibrary(base::FilePath(L"crypt32.dll"), &error) == NULL)
LOG(ERROR) << "Failed to load crypto32.dll: " << error;
#endif // defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698