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

Side by Side Diff: content/browser/cache_storage/cache_storage.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/browser/cache_storage/cache_storage.h" 5 #include "content/browser/cache_storage/cache_storage.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/barrier_closure.h" 13 #include "base/barrier_closure.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/files/memory_mapped_file.h" 15 #include "base/files/memory_mapped_file.h"
16 #include "base/guid.h" 16 #include "base/guid.h"
17 #include "base/location.h" 17 #include "base/location.h"
18 #include "base/memory/ptr_util.h" 18 #include "base/memory/ptr_util.h"
19 #include "base/memory/ref_counted.h" 19 #include "base/memory/ref_counted.h"
20 #include "base/metrics/histogram_macros.h" 20 #include "base/metrics/histogram_macros.h"
21 #include "base/numerics/safe_conversions.h" 21 #include "base/numerics/safe_conversions.h"
22 #include "base/sequenced_task_runner.h"
22 #include "base/sha1.h" 23 #include "base/sha1.h"
23 #include "base/single_thread_task_runner.h" 24 #include "base/single_thread_task_runner.h"
24 #include "base/stl_util.h" 25 #include "base/stl_util.h"
25 #include "base/strings/string_number_conversions.h" 26 #include "base/strings/string_number_conversions.h"
26 #include "base/strings/string_util.h" 27 #include "base/strings/string_util.h"
27 #include "base/threading/thread_task_runner_handle.h" 28 #include "base/threading/thread_task_runner_handle.h"
28 #include "content/browser/cache_storage/cache_storage.pb.h" 29 #include "content/browser/cache_storage/cache_storage.pb.h"
29 #include "content/browser/cache_storage/cache_storage_cache.h" 30 #include "content/browser/cache_storage/cache_storage_cache.h"
30 #include "content/browser/cache_storage/cache_storage_cache_handle.h" 31 #include "content/browser/cache_storage/cache_storage_cache_handle.h"
31 #include "content/browser/cache_storage/cache_storage_index.h" 32 #include "content/browser/cache_storage/cache_storage_index.h"
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
1096 GetLoadedCache(cache_metadata.name); 1097 GetLoadedCache(cache_metadata.name);
1097 CacheStorageCache* cache = cache_handle->value(); 1098 CacheStorageCache* cache = cache_handle->value();
1098 cache->Size(base::Bind(&CacheStorage::SizeRetrievedFromCache, 1099 cache->Size(base::Bind(&CacheStorage::SizeRetrievedFromCache,
1099 weak_factory_.GetWeakPtr(), 1100 weak_factory_.GetWeakPtr(),
1100 base::Passed(std::move(cache_handle)), 1101 base::Passed(std::move(cache_handle)),
1101 barrier_closure, accumulator_ptr)); 1102 barrier_closure, accumulator_ptr));
1102 } 1103 }
1103 } 1104 }
1104 1105
1105 } // namespace content 1106 } // namespace content
OLDNEW
« no previous file with comments | « components/wifi/wifi_service_win.cc ('k') | content/browser/cache_storage/cache_storage_blob_to_disk_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698