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

Unified Diff: components/policy/core/common/cloud/enterprise_metrics.h

Issue 1610123003: Added anonymizer to SystemLogUploader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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: components/policy/core/common/cloud/enterprise_metrics.h
diff --git a/components/policy/core/common/cloud/enterprise_metrics.h b/components/policy/core/common/cloud/enterprise_metrics.h
index ae51e2b7fc49eefc7b40b37ba1626ef7cf25567f..179feaf4f72e2fda5ac89b310bda753dd445f245 100644
--- a/components/policy/core/common/cloud/enterprise_metrics.h
+++ b/components/policy/core/common/cloud/enterprise_metrics.h
@@ -265,24 +265,6 @@ enum PolicyInvalidationType {
POLICY_INVALIDATION_TYPE_SIZE // Must be the last.
};
-// Types of sensitive data that is removed from system logs to upload.
-// This enum is used to define the buckets for an enumerated UMA histogram.
-// Hence,
-// (a) existing enumerated constants should never be deleted or reordered, and
-// (b) new constants should only be appended at the end of the enumeration.
-enum SystemLogPIIType {
- // Found email address in system logs to upload.
- SYSTEM_LOG_PII_TYPE_EMAIL_ADDRESS = 0,
- // Found IP address in system logs to upload.
- SYSTEM_LOG_PII_TYPE_IP_ADDRESS = 1,
- // Found Web URL in system logs to upload.
- SYSTEM_LOG_PII_TYPE_WEB_URL = 2,
- // Found SSID in system logs to upload.
- SYSTEM_LOG_PII_TYPE_SSID = 3,
-
- SYSTEM_LOG_PII_TYPE_SIZE // Must be the last.
-};
-
// Names for the UMA counters. They are shared from here since the events
// from the same enum above can be triggered in different files, and must use
// the same UMA histogram name.
@@ -292,7 +274,6 @@ POLICY_EXPORT extern const char kMetricUserPolicyRefresh[];
POLICY_EXPORT extern const char kMetricUserPolicyInvalidations[];
POLICY_EXPORT extern const char kMetricDevicePolicyRefresh[];
POLICY_EXPORT extern const char kMetricDevicePolicyInvalidations[];
-POLICY_EXPORT extern const char kMetricSystemLogPII[];
} // namespace policy

Powered by Google App Engine
This is Rietveld 408576698