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

Unified Diff: base/trace_event/trace_event_impl_constants.cc

Issue 1067233002: Added a trace option for whitewashing trace args against a known-PII-less list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « base/trace_event/trace_event_impl.cc ('k') | base/trace_event/trace_event_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/trace_event_impl_constants.cc
diff --git a/base/trace_event/trace_event_impl_constants.cc b/base/trace_event/trace_event_impl_constants.cc
index ffeacff38316c006eb0d70fb157838c3b7afb91d..f48d612a447653fb3a8659137c3b7a99f18f451e 100644
--- a/base/trace_event/trace_event_impl_constants.cc
+++ b/base/trace_event/trace_event_impl_constants.cc
@@ -23,6 +23,13 @@ const TraceLog::InternalTraceOptions
TraceLog::kInternalEchoToConsole = 1 << 3;
const TraceLog::InternalTraceOptions
TraceLog::kInternalRecordAsMuchAsPossible = 1 << 4;
+const TraceLog::InternalTraceOptions TraceLog::kInternalEnableArgsWhitelist =
+ 1 << 5;
+
+const char* const TraceEvent::kEventArgsWhitelist[][2] = {
Sami 2015/04/09 14:46:45 Maybe it's just me but it feels like this list sho
oystein (OOO til 10th of July) 2015/04/09 18:00:29 The whitelist is essentially args we've manually v
Sami 2015/04/10 11:08:36 I was just thinking that base/ seems like an odd p
+ {"toplevel", "*"},
+ {"__metadata", "thread_name"},
+ {NULL, NULL}};
} // namespace trace_event
} // namespace base
« no previous file with comments | « base/trace_event/trace_event_impl.cc ('k') | base/trace_event/trace_event_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698