Chromium Code Reviews| Index: chrome/browser/appcache/chrome_appcache_service.h |
| diff --git a/chrome/browser/appcache/chrome_appcache_service.h b/chrome/browser/appcache/chrome_appcache_service.h |
| index dbc0616033ac1f179d9525bd3b32073c84ec9c2d..35af35bfbfad279b136b25148c1a6adebe6f2d6f 100644 |
| --- a/chrome/browser/appcache/chrome_appcache_service.h |
| +++ b/chrome/browser/appcache/chrome_appcache_service.h |
| @@ -35,14 +35,17 @@ class ChromeAppCacheService |
| void InitializeOnIOThread( |
| const FilePath& profile_path, bool is_incognito, |
| - scoped_refptr<HostContentSettingsMap> content_settings_map); |
| + scoped_refptr<HostContentSettingsMap> content_settings_map, |
| + bool clear_local_state_on_exit); |
| // Helpers used by the extension service to grant and revoke |
| // unlimited storage to app extensions. |
| void SetOriginQuotaInMemory(const GURL& origin, int64 quota); |
| void ResetOriginQuotaInMemory(const GURL& origin); |
| - static void ClearLocalState(const FilePath& profile_path); |
| + void SetClearLocalStateOnExit(bool clear_local_state) { |
| + clear_local_state_on_exit_ = clear_local_state; |
| + } |
| private: |
| friend class BrowserThread; |
| @@ -62,6 +65,8 @@ class ChromeAppCacheService |
| scoped_refptr<HostContentSettingsMap> host_contents_settings_map_; |
| NotificationRegistrar registrar_; |
| + bool clear_local_state_on_exit_; |
|
jochen (gone - plz use gerrit)
2011/01/04 14:32:53
this is accessed on both IO and UI threads, so you
|
| + FilePath cache_path_; |
| }; |
| #endif // CHROME_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_ |