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

Unified Diff: content/ppapi_plugin/ppapi_thread.h

Issue 13548005: Add UMA reporting on failure to load ppapi plugins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also report loading error for flash. Created 7 years, 8 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 0e21d5611ea7b5cfd8e17b5ebd9dc7d3bb8a6a5b..d5603bea698aae6919d07c801016b6ba4dfae484 100644
--- a/content/ppapi_plugin/ppapi_thread.h
+++ b/content/ppapi_plugin/ppapi_thread.h
@@ -15,6 +15,7 @@
#include "base/scoped_native_library.h"
#include "build/build_config.h"
#include "content/common/child_thread.h"
+#include "content/public/plugin/content_plugin_client.h"
#include "ipc/ipc_listener.h"
#include "ppapi/c/pp_module.h"
#include "ppapi/c/trusted/ppp_broker.h"
@@ -113,6 +114,9 @@ class PpapiThread : public ChildThread,
// Sets up the name of the plugin for logging using the given path.
void SavePluginName(const base::FilePath& path);
+ void ReportLoadResult(const base::FilePath& path,
+ ContentPluginClient::PluginLoadResult result);
+
// 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