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..58f9c5989f35675831990f770a041feea985dd26 100644 |
| --- a/chrome/browser/appcache/chrome_appcache_service.h |
| +++ b/chrome/browser/appcache/chrome_appcache_service.h |
| @@ -35,14 +35,15 @@ 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); |
| private: |
| friend class BrowserThread; |
| @@ -62,6 +63,8 @@ class ChromeAppCacheService |
| scoped_refptr<HostContentSettingsMap> host_contents_settings_map_; |
| NotificationRegistrar registrar_; |
| + bool clear_local_state_on_exit_; |
| + FilePath cache_path_; |
| }; |
|
jochen (gone - plz use gerrit)
2011/01/05 10:55:45
any reason this class is not disallow copy and ass
pastarmovj
2011/01/05 12:15:14
Done.
|
| #endif // CHROME_BROWSER_APPCACHE_CHROME_APPCACHE_SERVICE_H_ |