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

Unified Diff: net/disk_cache/mem_entry_impl.h

Issue 23530064: Remove non-const references from MemEntryImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/mem_entry_impl.h
diff --git a/net/disk_cache/mem_entry_impl.h b/net/disk_cache/mem_entry_impl.h
index ef91f6d7b0c211b4ac8f1b1d0c57878b77df77ff..b84cc39ef22d3e9093cb270fdf34c14f1a208859 100644
--- a/net/disk_cache/mem_entry_impl.h
+++ b/net/disk_cache/mem_entry_impl.h
@@ -82,11 +82,7 @@ class MemEntryImpl : public Entry {
return parent_ ? kChildEntry : kParentEntry;
}
- std::string& key() {
- return key_;
- }
-
- net::BoundNetLog& net_log() {
+ const net::BoundNetLog& net_log() {
return net_log_;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698