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

Unified Diff: net/dns/host_cache.h

Issue 2938183003: Make HostCache::RestoreFromListValue() take a const reference (Closed)
Patch Set: auto Created 3 years, 6 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 | net/dns/host_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/host_cache.h
diff --git a/net/dns/host_cache.h b/net/dns/host_cache.h
index efc79980c104f2f4440b5c813a452c76c506445e..39c95e4ff4c056424544c6ab63e2661fcdc80772 100644
--- a/net/dns/host_cache.h
+++ b/net/dns/host_cache.h
@@ -171,7 +171,7 @@ class NET_EXPORT HostCache {
// Takes a base::ListValue representing cache entries and stores them in the
// cache, skipping any that already have entries. Returns true on success,
// false on failure.
- bool RestoreFromListValue(base::ListValue& old_cache);
+ bool RestoreFromListValue(const base::ListValue& old_cache);
// Returns the number of entries in the cache.
size_t size() const;
« no previous file with comments | « no previous file | net/dns/host_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698