Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: content/renderer/dom_storage/webstoragearea_impl.h

Issue 1729683007: Remove unused blink::WebStorageArea::memoryBytesUsedByCache(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_ 5 #ifndef CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_
6 #define CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_ 6 #define CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 18 matching lines...) Expand all
29 unsigned length() override; 29 unsigned length() override;
30 blink::WebString key(unsigned index) override; 30 blink::WebString key(unsigned index) override;
31 blink::WebString getItem(const blink::WebString& key) override; 31 blink::WebString getItem(const blink::WebString& key) override;
32 void setItem(const blink::WebString& key, 32 void setItem(const blink::WebString& key,
33 const blink::WebString& value, 33 const blink::WebString& value,
34 const blink::WebURL& page_url, 34 const blink::WebURL& page_url,
35 WebStorageArea::Result& result) override; 35 WebStorageArea::Result& result) override;
36 void removeItem(const blink::WebString& key, 36 void removeItem(const blink::WebString& key,
37 const blink::WebURL& page_url) override; 37 const blink::WebURL& page_url) override;
38 void clear(const blink::WebURL& url) override; 38 void clear(const blink::WebURL& url) override;
39 size_t memoryBytesUsedByCache() const override;
40 39
41 private: 40 private:
42 int connection_id_; 41 int connection_id_;
43 scoped_refptr<DOMStorageCachedArea> cached_area_; 42 scoped_refptr<DOMStorageCachedArea> cached_area_;
44 }; 43 };
45 44
46 } // namespace content 45 } // namespace content
47 46
48 #endif // CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_ 47 #endif // CONTENT_RENDERER_DOM_STORAGE_WEBSTORAGEAREA_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/dom_storage/local_storage_area.cc ('k') | content/renderer/dom_storage/webstoragearea_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698