#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include <gtest/gtest.h>
#include <stddef.h>
#include "base/command_line.h"
#include "base/memory/ref_counted.h"
#include "chrome/browser/prefs/chrome_command_line_pref_store.h"
#include "chrome/common/chrome_switches.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
#include "components/proxy_config/pref_proxy_config_tracker_impl.h"
#include "components/sync_preferences/pref_service_mock_factory.h"
#include "content/public/common/content_switches.h"
#include "net/proxy_resolution/proxy_config_service_common_unittest.h"
#include "url/gurl.h"
namespace {
struct CommandLineTestParams { … };
void PrintTo(const CommandLineTestParams& params, std::ostream* os) { … }
static const CommandLineTestParams kCommandLineTestParams[] = …;
}
class ChromeCommandLinePrefStoreProxyTest
: public testing::TestWithParam<CommandLineTestParams> { … };
TEST_P(ChromeCommandLinePrefStoreProxyTest, CommandLine) { … }
INSTANTIATE_TEST_SUITE_P(…);