Chromium Code Reviews| Index: chrome/browser/browser_process_impl.cc |
| diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc |
| index baf12d06e42766d73f9db900a15f3543023229b5..523b0f389a7d85bcbcb4e327e7c672802daab39e 100644 |
| --- a/chrome/browser/browser_process_impl.cc |
| +++ b/chrome/browser/browser_process_impl.cc |
| @@ -936,9 +936,11 @@ void BrowserProcessImpl::CreateLocalState() { |
| local_state_.get(), NULL); |
| plugin_finder_disabled_pref_.MoveToThread(BrowserThread::IO); |
| - // Initialize the disk cache location policy. This policy is not hot update- |
| - // able so we need to have it when initializing the profiles. |
| + // Initialize the disk cache policies. These policies are not hot update- |
| + // able so we need to have them when initializing the profiles. |
| local_state_->RegisterFilePathPref(prefs::kDiskCacheDir, FilePath()); |
| + local_state_->RegisterIntegerPref(prefs::kDiskCacheSize, 0); |
| + local_state_->RegisterIntegerPref(prefs::kMediaCacheSize, 0); |
|
Joao da Silva
2011/11/15 14:12:53
See other comments; I think these policies shouldn
|
| // Another policy that needs to be defined before the net subsystem is |
| // initialized is MaxConnectionsPerProxy so we do it here. |