#include "services/tracing/perfetto/privacy_filtering_check.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/perfetto/protos/perfetto/trace/trace.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/trace_packet.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/process_descriptor.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/thread_descriptor.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/track_descriptor.pb.h"
#include "third_party/perfetto/protos/perfetto/trace/track_event/track_event.pb.h"
namespace tracing {
void FillDisallowedTestField(perfetto::protos::TracePacket* packet) { … }
perfetto::protos::Trace GetFilteredTrace(const perfetto::protos::Trace& trace) { … }
TEST(PrivacyFilteringTest, EmptyTrace) { … }
TEST(PrivacyFilteringTest, SafeToplevelField) { … }
TEST(PrivacyFilteringTest, SafeToplevelMessageField) { … }
TEST(PrivacyFilteringTest, RepeatedFields) { … }
TEST(PrivacyFilteringTest, UnsafeToplevelField) { … }
TEST(PrivacyFilteringTest, SafeMessageWithOnlyUnsafeFields) { … }
TEST(PrivacyFilteringTest, SafeAndUnsafeFields) { … }
TEST(PrivacyFilteringTest, SafeAndUnsafePackets) { … }
TEST(PrivacyFilteringTest, NestedSafeAndUnsafeFields) { … }
}