summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-25 01:59:09 +0000
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-25 01:59:09 +0000
commit0f99844cb63471f828fb62a5105d07aaef63ec54 (patch)
tree8208b8f75342a68a7023980ff6245502b9cd4f16 /chrome/plugin
parent4912961802e33de08bf6e6f9bbfe89bece472b70 (diff)
downloadchromium_src-0f99844cb63471f828fb62a5105d07aaef63ec54.zip
chromium_src-0f99844cb63471f828fb62a5105d07aaef63ec54.tar.gz
chromium_src-0f99844cb63471f828fb62a5105d07aaef63ec54.tar.bz2
Report PPAPI plugin load error code to UMA.
TBR=sky@chrmium.org BUG=353886 Review URL: https://codereview.chromium.org/206713004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259091 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/chrome_content_plugin_client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/plugin/chrome_content_plugin_client.cc b/chrome/plugin/chrome_content_plugin_client.cc
index 4e1dee7d..1abe0a3 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.