#include <memory>
#include "base/json/json_reader.h"
#include "base/trace_event/trace_config.h"
#include "base/values.h"
#include "content/browser/devtools/protocol/tracing_handler.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
namespace protocol {
namespace {
const char kCustomTraceConfigString[] = …;
const char kCustomTraceConfigStringDevToolsStyle[] = …;
}
class TracingHandlerTest : public testing::Test { … };
TEST_F(TracingHandlerTest, GetTraceConfigFromDevToolsConfig) { … }
TEST_F(TracingHandlerTest, SimpleGetValidTraceFragment) { … }
TEST_F(TracingHandlerTest, GetValidTraceFragmentBreakBeforeComma) { … }
TEST_F(TracingHandlerTest, ComplexGetValidTraceFragment) { … }
}
}