| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/file_util.h" | |
| 6 #include "base/files/file.h" | 5 #include "base/files/file.h" |
| 6 #include "base/files/file_util.h" |
| 7 #include "base/files/scoped_temp_dir.h" | 7 #include "base/files/scoped_temp_dir.h" |
| 8 #include "base/hash.h" | 8 #include "base/hash.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/pickle.h" | 11 #include "base/pickle.h" |
| 12 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
| 13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 14 #include "base/thread_task_runner_handle.h" | 14 #include "base/thread_task_runner_handle.h" |
| 15 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 WrappedSimpleIndexFile::Deserialize(contents.data(), | 333 WrappedSimpleIndexFile::Deserialize(contents.data(), |
| 334 contents.size(), | 334 contents.size(), |
| 335 &when_index_last_saw_cache, | 335 &when_index_last_saw_cache, |
| 336 &deserialize_result); | 336 &deserialize_result); |
| 337 EXPECT_TRUE(deserialize_result.did_load); | 337 EXPECT_TRUE(deserialize_result.did_load); |
| 338 } | 338 } |
| 339 | 339 |
| 340 #endif // defined(OS_POSIX) | 340 #endif // defined(OS_POSIX) |
| 341 | 341 |
| 342 } // namespace disk_cache | 342 } // namespace disk_cache |
| OLD | NEW |