Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1985)

Unified Diff: chrome/browser/prefs/command_line_pref_store.h

Issue 8572006: Add policies to control the disk cache size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed issues. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698