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 5555b189a9868c19fe63e3c65685263275af5e8d..b236df98c9dd8648948a11abf8b323081b282527 100644 |
--- a/chrome/browser/prefs/command_line_pref_store.h |
+++ b/chrome/browser/prefs/command_line_pref_store.h |
@@ -30,6 +30,11 @@ class CommandLinePrefStore : public ValueMapPrefStore { |
const char* preference_path; |
}; |
+ struct IntegerSwitchToPreferenceMapEntry { |
+ const char* switch_name; |
+ const char* preference_path; |
+ }; |
+ |
// |set_value| indicates what the preference should be set to if the switch |
// is present. |
struct BooleanSwitchToPreferenceMapEntry { |
@@ -53,6 +58,7 @@ class CommandLinePrefStore : public ValueMapPrefStore { |
const CommandLine* command_line_; |
static const StringSwitchToPreferenceMapEntry string_switch_map_[]; |
+ static const IntegerSwitchToPreferenceMapEntry integer_switch_map_[]; |
DISALLOW_COPY_AND_ASSIGN(CommandLinePrefStore); |
}; |