Index: net/disk_cache/simple/simple_entry_format.cc |
diff --git a/chrome/browser/ui/views/frame/taskbar_decorator.cc b/net/disk_cache/simple/simple_entry_format.cc |
similarity index 39% |
copy from chrome/browser/ui/views/frame/taskbar_decorator.cc |
copy to net/disk_cache/simple/simple_entry_format.cc |
index 7bef2a4fa9e77b46ae05badcc7002f9f0583f0fc..340889311d052389d38336c9b93416a8611247b2 100644 |
--- a/chrome/browser/ui/views/frame/taskbar_decorator.cc |
+++ b/net/disk_cache/simple/simple_entry_format.cc |
@@ -2,11 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/ui/views/frame/taskbar_decorator.h" |
+#include "net/disk_cache/simple/simple_entry_format.h" |
-namespace chrome { |
+#include <cstring> |
-void DrawTaskbarDecoration(gfx::NativeWindow window, const gfx::Image* image) { |
+namespace disk_cache { |
+ |
+SimpleFileHeader::SimpleFileHeader() { |
+ // Make hashing repeatable: leave no padding bytes untouched. |
+ std::memset(this, 0, sizeof(*this)); |
} |
-} // namespace chrome |
+} // namespace disk_cache |