| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 2c610e19ec17d86c1f589e2d918a4922306e283e..1edaa24f43df6a44f1a185132d730d95d3b07340 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -579,7 +579,8 @@ ChromeAppCacheService* ProfileImpl::GetAppCacheService() {
|
| NewRunnableMethod(appcache_service_.get(),
|
| &ChromeAppCacheService::InitializeOnIOThread,
|
| GetPath(), IsOffTheRecord(),
|
| - make_scoped_refptr(GetHostContentSettingsMap())));
|
| + make_scoped_refptr(GetHostContentSettingsMap()),
|
| + clear_local_state_on_exit_));
|
| }
|
| return appcache_service_;
|
| }
|
| @@ -1222,6 +1223,9 @@ void ProfileImpl::Observe(NotificationType type,
|
| if (webkit_context_)
|
| webkit_context_->set_clear_local_state_on_exit(
|
| clear_local_state_on_exit_);
|
| + if (appcache_service_)
|
| + appcache_service_->SetClearLocalStateOnExit(
|
| + clear_local_state_on_exit_);
|
| }
|
| } else if (NotificationType::THEME_INSTALLED == type) {
|
| DCHECK_EQ(Source<Profile>(source).ptr(), GetOriginalProfile());
|
|
|