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

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

Issue 1969043002: Fix include path for moved thread_task_runner_handle.h header in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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 unified diff | Download patch
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_entry_impl.h" 5 #include "net/disk_cache/simple/simple_entry_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cstring> 8 #include <cstring>
9 #include <limits> 9 #include <limits>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/location.h" 16 #include "base/location.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
19 #include "base/task_runner.h" 19 #include "base/task_runner.h"
20 #include "base/task_runner_util.h" 20 #include "base/task_runner_util.h"
21 #include "base/thread_task_runner_handle.h" 21 #include "base/threading/thread_task_runner_handle.h"
22 #include "base/time/time.h" 22 #include "base/time/time.h"
23 #include "net/base/io_buffer.h" 23 #include "net/base/io_buffer.h"
24 #include "net/base/net_errors.h" 24 #include "net/base/net_errors.h"
25 #include "net/disk_cache/net_log_parameters.h" 25 #include "net/disk_cache/net_log_parameters.h"
26 #include "net/disk_cache/simple/simple_backend_impl.h" 26 #include "net/disk_cache/simple/simple_backend_impl.h"
27 #include "net/disk_cache/simple/simple_histogram_macros.h" 27 #include "net/disk_cache/simple/simple_histogram_macros.h"
28 #include "net/disk_cache/simple/simple_index.h" 28 #include "net/disk_cache/simple/simple_index.h"
29 #include "net/disk_cache/simple/simple_net_log_parameters.h" 29 #include "net/disk_cache/simple/simple_net_log_parameters.h"
30 #include "net/disk_cache/simple/simple_synchronous_entry.h" 30 #include "net/disk_cache/simple/simple_synchronous_entry.h"
31 #include "net/disk_cache/simple/simple_util.h" 31 #include "net/disk_cache/simple/simple_util.h"
(...skipping 1520 matching lines...) Expand 10 before | Expand all | Expand 10 after
1552 } 1552 }
1553 crc32s_end_offset_[stream_index] = offset + length; 1553 crc32s_end_offset_[stream_index] = offset + length;
1554 } else if (offset < crc32s_end_offset_[stream_index]) { 1554 } else if (offset < crc32s_end_offset_[stream_index]) {
1555 // If a range for which the crc32 was already computed is rewritten, the 1555 // If a range for which the crc32 was already computed is rewritten, the
1556 // computation of the crc32 need to start from 0 again. 1556 // computation of the crc32 need to start from 0 again.
1557 crc32s_end_offset_[stream_index] = 0; 1557 crc32s_end_offset_[stream_index] = 0;
1558 } 1558 }
1559 } 1559 }
1560 1560
1561 } // namespace disk_cache 1561 } // namespace disk_cache
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_backend_impl.cc ('k') | net/disk_cache/simple/simple_index_file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698