summaryrefslogtreecommitdiffstats
path: root/chrome/common/trace_event_args_whitelist.h
blob: 2d9f158b9d9ba98240c6cb46288205f3824ad433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_COMMON_TRACE_EVENT_ARGS_WHITELIST_H_
#define CHROME_COMMON_TRACE_EVENT_ARGS_WHITELIST_H_

#include "base/trace_event/trace_event_impl.h"

// Used to filter trace event arguments against a whitelist of events that
// have been manually vetted to not include any PII.
bool IsTraceEventArgsWhitelisted(
    const char* category_group_name,
    const char* event_name,
    base::trace_event::ArgumentNameFilterPredicate* arg_name_filter);

#endif  // CHROME_COMMON_TRACE_EVENT_ARGS_WHITELIST_H_