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

Unified Diff: net/disk_cache/simple/simple_index.cc

Issue 1154283003: Change most uses of Pickle to base::Pickle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « net/cert/x509_util_nss_certs.cc ('k') | net/disk_cache/simple/simple_index_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/simple/simple_index.cc
diff --git a/net/disk_cache/simple/simple_index.cc b/net/disk_cache/simple/simple_index.cc
index 6eb60bd57abbb9e3a08b3627461520deea15d188..fd01abd89946aa2c455c50865b96adbae50c9a10 100644
--- a/net/disk_cache/simple/simple_index.cc
+++ b/net/disk_cache/simple/simple_index.cc
@@ -119,14 +119,14 @@ void EntryMetadata::SetEntrySize(uint64 entry_size) {
entry_size_ = base::checked_cast<int32>(entry_size);
}
-void EntryMetadata::Serialize(Pickle* pickle) const {
+void EntryMetadata::Serialize(base::Pickle* pickle) const {
DCHECK(pickle);
int64 internal_last_used_time = GetLastUsedTime().ToInternalValue();
pickle->WriteInt64(internal_last_used_time);
pickle->WriteUInt64(entry_size_);
}
-bool EntryMetadata::Deserialize(PickleIterator* it) {
+bool EntryMetadata::Deserialize(base::PickleIterator* it) {
DCHECK(it);
int64 tmp_last_used_time;
uint64 tmp_entry_size;
« no previous file with comments | « net/cert/x509_util_nss_certs.cc ('k') | net/disk_cache/simple/simple_index_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698