Chromium Code Reviews| Index: chrome/browser/ui/browser.cc |
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
| index b854c6b402238ac52e167e10b91220d5f5cd8b71..13ef6f411fd4555a96274a6038f988b43ac3635d 100644 |
| --- a/chrome/browser/ui/browser.cc |
| +++ b/chrome/browser/ui/browser.cc |
| @@ -2446,6 +2446,17 @@ void Browser::RegisterUserPrefs(PrefService* prefs) { |
| prefs->RegisterBooleanPref(prefs::kClearPluginLSODataEnabled, |
| true, |
| PrefService::UNSYNCABLE_PREF); |
| + |
| + // Initialize the disk cache prefs. |
| + prefs->RegisterFilePathPref(prefs::kDiskCacheDir, |
| + FilePath(), |
| + PrefService::UNSYNCABLE_PREF); |
| + prefs->RegisterIntegerPref(prefs::kDiskCacheSize, |
| + 0, |
| + PrefService::UNSYNCABLE_PREF); |
| + prefs->RegisterIntegerPref(prefs::kMediaCacheSize, |
| + 0, |
| + PrefService::UNSYNCABLE_PREF); |
|
Joao da Silva
2011/11/16 16:10:42
Nit: indent of 2nd and 3rd args on these 3 prefs.
pastarmovj
2011/11/17 13:10:10
Hehe true i removed an _ there and those slipped :
|
| } |
| // static |