#include "components/prefs/command_line_pref_store.h"
#include <memory>
#include <string>
#include "base/command_line.h"
#include "base/containers/span.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/values.h"
CommandLinePrefStore::CommandLinePrefStore(
const base::CommandLine* command_line)
: … { … }
CommandLinePrefStore::~CommandLinePrefStore() = default;
void CommandLinePrefStore::ApplyStringSwitches(
base::span<const CommandLinePrefStore::SwitchToPreferenceMapEntry>
string_switch_map) { … }
void CommandLinePrefStore::ApplyPathSwitches(
base::span<const CommandLinePrefStore::SwitchToPreferenceMapEntry>
path_switch_map) { … }
void CommandLinePrefStore::ApplyIntegerSwitches(
base::span<const CommandLinePrefStore::SwitchToPreferenceMapEntry>
integer_switch_map) { … }
void CommandLinePrefStore::ApplyBooleanSwitches(
base::span<const CommandLinePrefStore::BooleanSwitchToPreferenceMapEntry>
boolean_switch_map) { … }