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

Unified Diff: chrome/browser/content_settings/permission_context_base.cc

Issue 1197853005: Collecting statistics on iframe permissions use. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made suggested fixes and changed logging details. Created 5 years, 6 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/content_settings/permission_context_base.cc
diff --git a/chrome/browser/content_settings/permission_context_base.cc b/chrome/browser/content_settings/permission_context_base.cc
index 32b9badf89461151e20c589c63c51225012bf382..487042c8b38e5a9fee3c96624ce01b08ea2335d3 100644
--- a/chrome/browser/content_settings/permission_context_base.cc
+++ b/chrome/browser/content_settings/permission_context_base.cc
@@ -131,7 +131,8 @@ void PermissionContextBase::DecidePermission(
}
PermissionContextUmaUtil::PermissionRequested(
- permission_type_, requesting_origin);
+ permission_type_, profile_->GetHostContentSettingsMap(),
+ requesting_origin, embedding_origin);
if (PermissionBubbleManager::Enabled()) {
PermissionBubbleManager* bubble_manager =

Powered by Google App Engine
This is Rietveld 408576698