| Index: content/renderer/dom_storage/dom_storage_cached_area.h
|
| diff --git a/content/renderer/dom_storage/dom_storage_cached_area.h b/content/renderer/dom_storage/dom_storage_cached_area.h
|
| index 6942534cf87744fa45c7d4da5dd5cb4f5c04cabe..b99103885537822d9a4c309671bd37db25862d56 100644
|
| --- a/content/renderer/dom_storage/dom_storage_cached_area.h
|
| +++ b/content/renderer/dom_storage/dom_storage_cached_area.h
|
| @@ -51,9 +51,6 @@ class CONTENT_EXPORT DOMStorageCachedArea
|
|
|
| size_t MemoryBytesUsedByCache() const;
|
|
|
| - // Resets the object back to its newly constructed state.
|
| - void Reset();
|
| -
|
| private:
|
| friend class DOMStorageCachedAreaTest;
|
| friend class base::RefCounted<DOMStorageCachedArea>;
|
| @@ -66,6 +63,9 @@ class CONTENT_EXPORT DOMStorageCachedArea
|
| Prime(connection_id);
|
| }
|
|
|
| + // Resets the object back to its newly constructed state.
|
| + void Reset();
|
| +
|
| // Async completion callbacks for proxied operations.
|
| // These are used to maintain cache consistency by preventing
|
| // mutation events from other processes from overwriting local
|
| @@ -86,11 +86,6 @@ class CONTENT_EXPORT DOMStorageCachedArea
|
| GURL origin_;
|
| scoped_refptr<DOMStorageMap> map_;
|
| scoped_refptr<DOMStorageProxy> proxy_;
|
| - // Sometimes, we need to send messages to the browser for each get access,
|
| - // for logging purposes. However, we only do this for a fixed maximum number
|
| - // of gets. Here, we keep track of how many remaining get log messages we
|
| - // need to send.
|
| - int remaining_log_get_messages_;
|
| base::WeakPtrFactory<DOMStorageCachedArea> weak_factory_;
|
| };
|
|
|
|
|