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

Unified Diff: content/ppapi_plugin/ppapi_thread.h

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: content/ppapi_plugin/ppapi_thread.h
diff --git a/content/ppapi_plugin/ppapi_thread.h b/content/ppapi_plugin/ppapi_thread.h
index faf85c7e3e35ed91956ee9d73cc8212315370421..997b5812dcc118ebbf9d3995e523a70dab950395 100644
--- a/content/ppapi_plugin/ppapi_thread.h
+++ b/content/ppapi_plugin/ppapi_thread.h
@@ -112,6 +112,12 @@ class PpapiThread : public ChildThread,
void ReportLoadResult(const base::FilePath& path, LoadResult result);
+#if defined(OS_WIN)
+ // Reports |error| to UMA when plugin load fails.
+ void ReportLoadErrorCode(const base::FilePath& path,
+ NativeLibraryLoadError error);
+#endif
+
// True if running in a broker process rather than a normal plugin process.
bool is_broker_;

Powered by Google App Engine
This is Rietveld 408576698