Index: webkit/appcache/appcache_service.h |
diff --git a/webkit/appcache/appcache_service.h b/webkit/appcache/appcache_service.h |
index 4952c941270c17ab87b63d78ae5d273c53652229..71584ccca5dccf24c1d967b3c645f509225d6ba1 100644 |
--- a/webkit/appcache/appcache_service.h |
+++ b/webkit/appcache/appcache_service.h |
@@ -132,6 +132,10 @@ class AppCacheService { |
AppCacheStorage* storage() const { return storage_.get(); } |
+ bool clear_local_state_on_exit() const { return clear_local_state_on_exit_; } |
+ void set_clear_local_state_on_exit(bool clear_local_state_on_exit) { |
+ clear_local_state_on_exit_ = clear_local_state_on_exit; } |
+ |
protected: |
friend class AppCacheStorageImplTest; |
friend class AppCacheServiceTest; |
@@ -154,6 +158,7 @@ class AppCacheService { |
BackendMap backends_; // One 'backend' per child process. |
// Context for use during cache updates. |
net::URLRequestContext* request_context_; |
+ bool clear_local_state_on_exit_; |
DISALLOW_COPY_AND_ASSIGN(AppCacheService); |
}; |