| Index: chrome/browser/prefs/command_line_pref_store.h
|
| diff --git a/chrome/browser/prefs/command_line_pref_store.h b/chrome/browser/prefs/command_line_pref_store.h
|
| index 2ea29ae8d001fa5f822e80bf1c9054c60bf15152..c3baf7a2782b66970c0318de73f98b1fde8f9724 100644
|
| --- a/chrome/browser/prefs/command_line_pref_store.h
|
| +++ b/chrome/browser/prefs/command_line_pref_store.h
|
| @@ -9,21 +9,18 @@
|
| #include "base/basictypes.h"
|
| #include "base/command_line.h"
|
| #include "base/scoped_ptr.h"
|
| -#include "chrome/common/pref_store.h"
|
| +#include "base/values.h"
|
| +#include "chrome/browser/prefs/value_map_pref_store.h"
|
|
|
| class DictionaryValue;
|
|
|
| // This PrefStore keeps track of preferences set by command-line switches,
|
| // such as proxy settings.
|
| -class CommandLinePrefStore : public PrefStore {
|
| +class CommandLinePrefStore : public ValueMapPrefStore {
|
| public:
|
| explicit CommandLinePrefStore(const CommandLine* command_line);
|
| virtual ~CommandLinePrefStore();
|
|
|
| - // PrefStore methods:
|
| - virtual PrefReadError ReadPrefs();
|
| - virtual DictionaryValue* prefs() const { return prefs_.get(); }
|
| -
|
| protected:
|
| // Logs a message and returns false if the proxy switches are
|
| // self-contradictory. Protected so it can be used in unit testing.
|
| @@ -51,8 +48,6 @@ class CommandLinePrefStore : public PrefStore {
|
| // Weak reference.
|
| const CommandLine* command_line_;
|
|
|
| - scoped_ptr<DictionaryValue> prefs_;
|
| -
|
| static const StringSwitchToPreferenceMapEntry string_switch_map_[];
|
|
|
| DISALLOW_COPY_AND_ASSIGN(CommandLinePrefStore);
|
|
|