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

Side by Side Diff: content/renderer/dom_storage/local_storage_area.cc

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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "content/renderer/dom_storage/local_storage_area.h" 5 #include "content/renderer/dom_storage/local_storage_area.h"
6 6
7 #include "content/common/storage_partition_service.mojom.h" 7 #include "content/common/storage_partition_service.mojom.h"
8 8
9 using blink::WebString; 9 using blink::WebString;
10 using blink::WebURL; 10 using blink::WebURL;
(...skipping 29 matching lines...) Expand all
40 WebStorageArea::Result& result) { 40 WebStorageArea::Result& result) {
41 } 41 }
42 42
43 void LocalStorageArea::removeItem( 43 void LocalStorageArea::removeItem(
44 const WebString& key, const WebURL& page_url) { 44 const WebString& key, const WebURL& page_url) {
45 } 45 }
46 46
47 void LocalStorageArea::clear(const WebURL& page_url) { 47 void LocalStorageArea::clear(const WebURL& page_url) {
48 } 48 }
49 49
50 size_t LocalStorageArea::memoryBytesUsedByCache() const {
51 return 0u;
52 }
53
54 void LocalStorageArea::KeyChanged(mojo::Array<uint8_t> key, 50 void LocalStorageArea::KeyChanged(mojo::Array<uint8_t> key,
55 mojo::Array<uint8_t> new_value, 51 mojo::Array<uint8_t> new_value,
56 mojo::Array<uint8_t> old_value, 52 mojo::Array<uint8_t> old_value,
57 const mojo::String& source) { 53 const mojo::String& source) {
58 } 54 }
59 55
60 void LocalStorageArea::KeyDeleted(mojo::Array<uint8_t> key, 56 void LocalStorageArea::KeyDeleted(mojo::Array<uint8_t> key,
61 const mojo::String& source) { 57 const mojo::String& source) {
62 } 58 }
63 59
64 void LocalStorageArea::AllDeleted(const mojo::String& source) { 60 void LocalStorageArea::AllDeleted(const mojo::String& source) {
65 } 61 }
66 62
67 } // namespace content 63 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/dom_storage/local_storage_area.h ('k') | content/renderer/dom_storage/webstoragearea_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698