Index: chrome/browser/browser_process_impl.cc |
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc |
index c496bbe299d2f6323959d44ead22e9db6ddcf594..7040ae8e82ce36d98ceb31787177d932e06f3e4a 100644 |
--- a/chrome/browser/browser_process_impl.cc |
+++ b/chrome/browser/browser_process_impl.cc |
@@ -919,6 +919,10 @@ 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. |
+ local_state_->RegisterFilePathPref(prefs::kDiskCacheDir, FilePath()); |
+ |
// This is observed by ChildProcessSecurityPolicy, which lives in content/ |
// though, so it can't register itself. |
local_state_->RegisterListPref(prefs::kDisabledSchemes); |