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

Side by Side Diff: chrome/common/trace_event_args_whitelist.h

Issue 1502583003: [Tracing] Add metadata filter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile failure on win Created 5 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_TRACE_EVENT_ARGS_WHITELIST_H_ 5 #ifndef CHROME_COMMON_TRACE_EVENT_ARGS_WHITELIST_H_
6 #define CHROME_COMMON_TRACE_EVENT_ARGS_WHITELIST_H_ 6 #define CHROME_COMMON_TRACE_EVENT_ARGS_WHITELIST_H_
7 7
8 #include "base/trace_event/trace_event_impl.h" 8 #include "base/trace_event/trace_event_impl.h"
9 9
10 // Used to filter trace event arguments against a whitelist of events that 10 // Used to filter trace event arguments against a whitelist of events that
11 // have been manually vetted to not include any PII. 11 // have been manually vetted to not include any PII.
12 bool IsTraceEventArgsWhitelisted( 12 bool IsTraceEventArgsWhitelisted(
13 const char* category_group_name, 13 const char* category_group_name,
14 const char* event_name, 14 const char* event_name,
15 base::trace_event::ArgumentNameFilterPredicate* arg_name_filter); 15 base::trace_event::ArgumentNameFilterPredicate* arg_name_filter);
16 16
17 // Used to filter metadata against a whitelist of metadata names that have been
18 // manually vetted to not include any PII.
19 bool IsMetadataWhitelisted(const std::string& metadata_name);
20
17 #endif // CHROME_COMMON_TRACE_EVENT_ARGS_WHITELIST_H_ 21 #endif // CHROME_COMMON_TRACE_EVENT_ARGS_WHITELIST_H_
OLDNEW
« no previous file with comments | « chrome/browser/tracing/chrome_tracing_delegate.cc ('k') | chrome/common/trace_event_args_whitelist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698