#include "components/tracing/common/background_tracing_state_manager.h"
#include "base/json/json_writer.h"
#include "base/json/values_util.h"
#include "base/strings/pattern.h"
#include "components/metrics/metrics_pref_names.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "components/tracing/common/pref_names.h"
#include "content/public/browser/background_tracing_config.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace tracing {
class BackgroundTracingStateManagerTest : public testing::Test { … };
TEST_F(BackgroundTracingStateManagerTest, InitializeEmptyPrefs) { … }
TEST_F(BackgroundTracingStateManagerTest, InitializeInvalidState) { … }
TEST_F(BackgroundTracingStateManagerTest, SessionEndedUnexpectedly) { … }
TEST_F(BackgroundTracingStateManagerTest, OnTracingStarted) { … }
TEST_F(BackgroundTracingStateManagerTest, OnTracingStopped) { … }
TEST_F(BackgroundTracingStateManagerTest, DisablePrivacyFilter) { … }
TEST_F(BackgroundTracingStateManagerTest, PrivacyFilterDisabled) { … }
TEST_F(BackgroundTracingStateManagerTest, LoadEnabledScenarios) { … }
TEST_F(BackgroundTracingStateManagerTest, UpdateEnabledScenarios) { … }
}