summaryrefslogtreecommitdiffstats
path: root/third_party
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 /third_party
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 'third_party')
-rw-r--r--third_party/libjingle/overrides/init_webrtc.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/third_party/libjingle/overrides/init_webrtc.cc b/third_party/libjingle/overrides/init_webrtc.cc
index e0e0532..b25f31a 100644
--- a/third_party/libjingle/overrides/init_webrtc.cc
+++ b/third_party/libjingle/overrides/init_webrtc.cc
@@ -80,10 +80,9 @@ bool InitializeWebRtcModule() {
base::FilePath path(GetLibPeerConnectionPath());
DVLOG(1) << "Loading WebRTC module: " << path.value();
- std::string error;
- static base::NativeLibrary lib =
- base::LoadNativeLibrary(path, &error);
- CHECK(lib) << error;
+ base::NativeLibraryLoadError error;
+ static base::NativeLibrary lib = base::LoadNativeLibrary(path, &error);
+ CHECK(lib) << error.ToString();
InitializeModuleFunction initialize_module =
reinterpret_cast<InitializeModuleFunction>(