Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index 3b7e943bf469373a538d441e57b258381d59e18d..aade3dc55d65c6c7ad1de476f3e437166b8e7e7a 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -121,6 +121,7 @@ class ChromeCookieMonsterDelegate : public net::CookieMonster::Delegate { |
} // namespace |
+// static |
void ProfileIOData::InitializeProfileParams(Profile* profile, |
ProfileParams* params) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
@@ -271,3 +272,8 @@ void ProfileIOData::ApplyProfileParamsToContext( |
context->set_extension_info_map(profile_params.extension_info_map); |
context->set_prerender_manager(profile_params.prerender_manager); |
} |
+ |
+void ProfileIOData::ShutdownOnUIThread() { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ enable_referrers_.Destroy(); |
+} |