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

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

Issue 2887613003: Only collect Permission Action Reporting data in official builds (Closed)
Patch Set: Undo experiment Created 3 years, 7 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.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.h
diff --git a/chrome/browser/permissions/permission_uma_util.h b/chrome/browser/permissions/permission_uma_util.h
index afc4470a55edec3f3a8c129b06f744f819f609f9..2fa063cbc5d3bfd786151b45fb946f1f43102617 100644
--- a/chrome/browser/permissions/permission_uma_util.h
+++ b/chrome/browser/permissions/permission_uma_util.h
@@ -196,6 +196,10 @@ class PermissionUmaUtil {
ContentSettingsType permission,
bool toggle_enabled);
+ // Permission Action Reporting data is only sent in official, Chrome branded
+ // builds. This function allows this to be overridden for testing.
+ static void FakeOfficialBuildForTest();
+
private:
friend class PermissionUmaUtilTest;
« no previous file with comments | « no previous file | chrome/browser/permissions/permission_uma_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698