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

Side by Side Diff: net/disk_cache/simple/simple_disk_format.cc

Issue 14295012: Revert 194347 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « net/disk_cache/simple/simple_disk_format.h ('k') | net/disk_cache/simple/simple_entry_format.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "net/disk_cache/simple/simple_disk_format.h" 5 #include "net/disk_cache/simple/simple_disk_format.h"
6 6
7 #include "base/format_macros.h" 7 #include "base/format_macros.h"
8 #include "base/hash.h" 8 #include "base/hash.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/sha1.h" 10 #include "base/sha1.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 EntryMetadata* to) { 111 EntryMetadata* to) {
112 if (to->last_used_time == 0) 112 if (to->last_used_time == 0)
113 to->last_used_time = from.last_used_time; 113 to->last_used_time = from.last_used_time;
114 if (to->entry_size == 0) 114 if (to->entry_size == 0)
115 to->entry_size = from.entry_size; 115 to->entry_size = from.entry_size;
116 } 116 }
117 117
118 } // namespace SimpleIndexFile 118 } // namespace SimpleIndexFile
119 119
120 } // namespace disk_cache 120 } // namespace disk_cache
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_disk_format.h ('k') | net/disk_cache/simple/simple_entry_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698