OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <utility> | 5 #include <utility> |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/metrics/field_trial.h" | 9 #include "base/metrics/field_trial.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "base/strings/stringprintf.h" | |
12 #include "net/base/cache_type.h" | 11 #include "net/base/cache_type.h" |
13 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
14 #include "net/disk_cache/blockfile/backend_impl.h" | 13 #include "net/disk_cache/blockfile/backend_impl.h" |
15 #include "net/disk_cache/cache_util.h" | 14 #include "net/disk_cache/cache_util.h" |
16 #include "net/disk_cache/disk_cache.h" | 15 #include "net/disk_cache/disk_cache.h" |
17 #include "net/disk_cache/memory/mem_backend_impl.h" | 16 #include "net/disk_cache/memory/mem_backend_impl.h" |
18 #include "net/disk_cache/simple/simple_backend_impl.h" | 17 #include "net/disk_cache/simple/simple_backend_impl.h" |
19 | 18 |
20 namespace { | 19 namespace { |
21 | 20 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 backend_type, | 183 backend_type, |
185 kNone, | 184 kNone, |
186 thread, | 185 thread, |
187 net_log, | 186 net_log, |
188 backend, | 187 backend, |
189 callback); | 188 callback); |
190 return creator->Run(); | 189 return creator->Run(); |
191 } | 190 } |
192 | 191 |
193 } // namespace disk_cache | 192 } // namespace disk_cache |
OLD | NEW |