#include "src/trace_processor/importers/proto/chrome_string_lookup.h"
#include "perfetto/ext/base/utils.h"
#include "protos/perfetto/trace/track_event/chrome_legacy_ipc.pbzero.h"
#include "protos/perfetto/trace/track_event/chrome_process_descriptor.pbzero.h"
#include "protos/perfetto/trace/track_event/chrome_thread_descriptor.pbzero.h"
#include "src/trace_processor/storage/trace_storage.h"
ChromeProcessDescriptor;
ChromeThreadDescriptor;
namespace perfetto {
namespace trace_processor {
namespace {
struct ProcessName { … };
constexpr ProcessName kProcessNames[] = …;
struct ThreadName { … };
constexpr ThreadName kThreadNames[] = …;
}
ChromeStringLookup::ChromeStringLookup(TraceStorage* storage) { … }
StringId ChromeStringLookup::GetProcessName(int32_t process_type) const { … }
StringId ChromeStringLookup::GetThreadName(int32_t thread_type) const { … }
}
}