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

Unified Diff: trunk/src/chrome/browser/guestview/webview/plugin_permission_helper.cc

Issue 65043018: Revert 235647 "Add UMA for <webview> APIs: a. ClearData, b. when..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | trunk/src/chrome/browser/guestview/webview/webview_guest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/guestview/webview/plugin_permission_helper.cc
===================================================================
--- trunk/src/chrome/browser/guestview/webview/plugin_permission_helper.cc (revision 235667)
+++ trunk/src/chrome/browser/guestview/webview/plugin_permission_helper.cc (working copy)
@@ -108,4 +108,8 @@
host->Send(new ChromeViewMsg_LoadBlockedPlugins(
host->GetRoutingID(), identifier));
}
+
+ content::RecordAction(
+ allow ? content::UserMetricsAction("WebView.Guest.PluginLoadAllowed") :
+ content::UserMetricsAction("WebView.Guest.PluginLoadDenied"));
}
« no previous file with comments | « no previous file | trunk/src/chrome/browser/guestview/webview/webview_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698