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

Unified Diff: chrome/browser/chromeos/policy/system_log_uploader.h

Issue 1610123003: Added anonymizer to SystemLogUploader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/browser/chromeos/policy/DEPS ('k') | chrome/browser/chromeos/policy/system_log_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/system_log_uploader.h
diff --git a/chrome/browser/chromeos/policy/system_log_uploader.h b/chrome/browser/chromeos/policy/system_log_uploader.h
index 5a3d6243c12737285c12f1ce5d68f0f322f0ea77..88e7aed0c384f2a8ce723672759cf559a83bb9ba 100644
--- a/chrome/browser/chromeos/policy/system_log_uploader.h
+++ b/chrome/browser/chromeos/policy/system_log_uploader.h
@@ -16,6 +16,7 @@
#include "base/time/time.h"
#include "chrome/browser/chromeos/policy/upload_job.h"
#include "chrome/browser/chromeos/settings/cros_settings.h"
+#include "components/feedback/anonymizer_tool.h"
Thiemo Nagel 2016/01/21 19:11:49 Please use forward declaration of AnonymizerTool i
Polina Bondarenko 2016/01/22 11:48:53 Done.
namespace base {
class SequencedTaskRunner;
@@ -78,9 +79,10 @@ class SystemLogUploader : public UploadJob::Delegate {
void OnSuccess() override;
void OnFailure(UploadJob::ErrorCode error_code) override;
- // Remove lines from |data| that contain common PII (IP addresses, SSIDs, URLs
- // e-mail addresses).
- static std::string RemoveSensitiveData(const std::string& data);
+ // Remove lines from |data| that contain common PII (IP addresses, BSSIDs,
+ // SSIDs, URLs, e-mail addresses).
+ static std::string RemoveSensitiveData(feedback::AnonymizerTool& anonymizer,
+ const std::string& data);
private:
// Updates the system log upload enabled field from settings.
« no previous file with comments | « chrome/browser/chromeos/policy/DEPS ('k') | chrome/browser/chromeos/policy/system_log_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698