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

Side by Side Diff: content/renderer/dom_storage/webstoragearea_impl.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 (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 #include "content/renderer/dom_storage/webstoragearea_impl.h" 5 #include "content/renderer/dom_storage/webstoragearea_impl.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 void WebStorageAreaImpl::removeItem( 70 void WebStorageAreaImpl::removeItem(
71 const WebString& key, const WebURL& page_url) { 71 const WebString& key, const WebURL& page_url) {
72 cached_area_->RemoveItem(connection_id_, key, page_url); 72 cached_area_->RemoveItem(connection_id_, key, page_url);
73 } 73 }
74 74
75 void WebStorageAreaImpl::clear(const WebURL& page_url) { 75 void WebStorageAreaImpl::clear(const WebURL& page_url) {
76 cached_area_->Clear(connection_id_, page_url); 76 cached_area_->Clear(connection_id_, page_url);
77 } 77 }
78 78
79 size_t WebStorageAreaImpl::memoryBytesUsedByCache() const {
80 return cached_area_->MemoryBytesUsedByCache();
81 }
82
83 } // namespace content 79 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/dom_storage/webstoragearea_impl.h ('k') | third_party/WebKit/Source/modules/storage/StorageArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698