// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/process/current_process.h" namespace base { namespace { const char* GetNameForProcessType(CurrentProcessType process_type) { … } } // namespace // Used for logging histograms for IPC metrics based on their process type. ShortProcessType CurrentProcess::GetShortType(TypeKey key) { … } // static CurrentProcess& CurrentProcess::GetInstance() { … } void CurrentProcess::SetProcessType(CurrentProcessType process_type) { … } void CurrentProcess::SetProcessNameAndType(const std::string& process_name, CurrentProcessType process_type) { … } } // namespace base