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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2744043003: Use LoadLibraryExW if applicable in LoadNativeLibrary on Windows (Closed)
Patch Set: Better variable name. Created 3 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:
Download patch
« no previous file with comments | « base/native_library_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index a61d57ec74803a23df4b7a9418c169f5d7fc6e6c..4fdf0ceb26b5cbc76664f0f2d976780a506808a8 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -24514,6 +24514,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="LibraryLoader.LoadNativeLibraryWindows"
+ enum="LoadLibraryResultCategory">
+ <owner>chengx@chromium.org</owner>
+ <summary>
+ This metric records the LoadLibraryExW and LoadLibraryW Windows API call
+ results, which are used in native_library_win.cc.
+ </summary>
+</histogram>
+
<histogram name="LibraryLoader.NativeLibraryHack" enum="BooleanUsage">
<obsolete>
Deprecated as of 11/2014, removed from code.
@@ -98778,6 +98787,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="23" label="Unnamed"/>
</enum>
+<enum name="LoadLibraryResultCategory" type="int">
+ <int value="0" label="LoadLibraryExW Succeeded"/>
+ <int value="1" label="LoadLibraryExW Fail, LoadLibraryW Succeeded"/>
+ <int value="2" label="LoadLibraryExW Fail, LoadLibraryW Fail"/>
+ <int value="3" label="LoadLibraryExW Unavailable, LoadLibraryW Succeeded"/>
+ <int value="4" label="LoadLibraryExW Unavailable, LoadLibraryW Fail"/>
+</enum>
+
<enum name="LoadType" type="int">
<int value="0" label="UNDEFINED_LOAD">Not yet initialized</int>
<int value="1" label="RELOAD">User pressed reload</int>
« no previous file with comments | « base/native_library_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698