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

Unified Diff: chrome/browser/permissions/permission_uma_util.cc

Issue 2269863002: Turn on Permission Action Reporting by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: re-disable test Created 4 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/permissions/permission_uma_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/permissions/permission_uma_util.cc
diff --git a/chrome/browser/permissions/permission_uma_util.cc b/chrome/browser/permissions/permission_uma_util.cc
index abf5fb45f7d84857a9c82f94014620deac6257fb..52c3ca888e8144e5ccc3253c4e855ace52dd1966 100644
--- a/chrome/browser/permissions/permission_uma_util.cc
+++ b/chrome/browser/permissions/permission_uma_util.cc
@@ -568,8 +568,8 @@ void PermissionUmaUtil::PermissionPromptDeniedWithPersistenceToggle(
}
bool PermissionUmaUtil::IsOptedIntoPermissionActionReporting(Profile* profile) {
- if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnablePermissionActionReporting))
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisablePermissionActionReporting))
raymes 2016/08/23 08:18:35 nit: add {}
kcarattini 2016/08/24 03:23:36 Done.
return false;
DCHECK(profile);
« no previous file with comments | « no previous file | chrome/browser/permissions/permission_uma_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698