chromium/chrome/browser/tracing/background_tracing_field_trial_unittest.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/tracing/background_tracing_field_trial.h"

#include "base/base64.h"
#include "base/files/file_util.h"
#include "base/metrics/field_trial.h"
#include "base/metrics/field_trial_params.h"
#include "base/path_service.h"
#include "base/test/scoped_command_line.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/test_proto_loader.h"
#include "base/threading/thread_restrictions.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile_manager.h"
#include "components/tracing/common/background_tracing_state_manager.h"
#include "components/tracing/common/background_tracing_utils.h"
#include "components/tracing/common/tracing_switches.h"
#include "content/public/browser/background_tracing_config.h"
#include "content/public/browser/background_tracing_manager.h"
#include "content/public/test/browser_task_environment.h"
#include "services/tracing/public/cpp/tracing_features.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace tracing {

class BackgroundTracingTest : public testing::Test {};

namespace {

const char kValidJsonTracingConfig[] =;

const char kValidProtoTracingConfig[] =;

BackgroundTracingSetupMode;

std::string GetFieldTracingConfigFromText(const std::string& proto_text) {}

}  // namespace

TEST_F(BackgroundTracingTest, MaybeSetupBackgroundTracingFromFieldTrial) {}

TEST_F(BackgroundTracingTest, MaybeSetupFieldTracingFromFieldTrial) {}

TEST_F(BackgroundTracingTest, SetupBackgroundTracingFromProtoConfigFile) {}

TEST_F(BackgroundTracingTest, SetupBackgroundTracingFromJsonConfigFile) {}

TEST_F(BackgroundTracingTest, SetupBackgroundTracingFieldTrialOutputPath) {}

}  // namespace tracing