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

Unified Diff: chrome/browser/load_library_perf_test.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/browser/load_library_perf_test.cc
diff --git a/chrome/browser/load_library_perf_test.cc b/chrome/browser/load_library_perf_test.cc
index c35cd0bb86942fffd17b02d2aa49642ef708ec53..909fc0063eaa891d43affddf92f4d79db7653753 100644
--- a/chrome/browser/load_library_perf_test.cc
+++ b/chrome/browser/load_library_perf_test.cc
@@ -28,7 +28,7 @@ void MeasureSizeAndTimeToLoadNativeLibrary(const base::FilePath& library_name) {
"bytes",
true);
- std::string error;
+ base::NativeLibraryLoadError error = 0;
ddorwin 2014/03/21 20:06:32 This compiles on platforms other than Windows, but
xhwang 2014/03/21 22:33:28 Fixed.
base::TimeTicks start = base::TimeTicks::HighResNow();
base::NativeLibrary native_library =
base::LoadNativeLibrary(library_path, &error);

Powered by Google App Engine
This is Rietveld 408576698