#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "chrome/browser/prefs/chrome_command_line_pref_store.h"
#include <stddef.h>
#include "base/command_line.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_refptr.h"
#include "base/strings/string_util.h"
#include "base/values.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "components/language/core/browser/pref_names.h"
#include "components/proxy_config/proxy_config_dictionary.h"
#include "components/proxy_config/proxy_config_pref_names.h"
#include "content/public/common/content_switches.h"
#include "services/network/public/cpp/network_switches.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/ui_base_switches.h"
namespace {
const char unknown_bool[] = …;
const char unknown_string[] = …;
}
class TestCommandLinePrefStore : public ChromeCommandLinePrefStore { … };
TEST(ChromeCommandLinePrefStoreTest, SimpleStringPref) { … }
TEST(ChromeCommandLinePrefStoreTest, SimpleBooleanPref) { … }
TEST(ChromeCommandLinePrefStoreTest, NoPrefs) { … }
TEST(ChromeCommandLinePrefStoreTest, MultipleSwitches) { … }
TEST(ChromeCommandLinePrefStoreTest, ProxySwitchValidation) { … }
TEST(ChromeCommandLinePrefStoreTest, ManualProxyModeInference) { … }
TEST(ChromeCommandLinePrefStoreTest, DisableSSLCipherSuites) { … }
TEST(ChromeCommandLinePrefStoreTest, ExplicitlyAllowedPorts) { … }
TEST(ChromeCommandLinePrefStoreTest, AcceptLanguage) { … }