OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "components/nacl/browser/pnacl_translation_cache.h" | 5 #include "components/nacl/browser/pnacl_translation_cache.h" |
6 | 6 |
| 7 #include <string.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 | 10 |
9 #include "base/callback.h" | 11 #include "base/callback.h" |
10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
11 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/macros.h" |
12 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
13 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
14 #include "components/nacl/common/pnacl_types.h" | 17 #include "components/nacl/common/pnacl_types.h" |
15 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
16 #include "net/base/io_buffer.h" | 19 #include "net/base/io_buffer.h" |
17 #include "net/base/net_errors.h" | 20 #include "net/base/net_errors.h" |
18 #include "net/disk_cache/disk_cache.h" | 21 #include "net/disk_cache/disk_cache.h" |
19 | 22 |
20 using base::IntToString; | 23 using base::IntToString; |
21 using content::BrowserThread; | 24 using content::BrowserThread; |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 } | 441 } |
439 | 442 |
440 int PnaclTranslationCache::DoomEntriesBetween( | 443 int PnaclTranslationCache::DoomEntriesBetween( |
441 base::Time initial, | 444 base::Time initial, |
442 base::Time end, | 445 base::Time end, |
443 const CompletionCallback& callback) { | 446 const CompletionCallback& callback) { |
444 return disk_cache_->DoomEntriesBetween(initial, end, callback); | 447 return disk_cache_->DoomEntriesBetween(initial, end, callback); |
445 } | 448 } |
446 | 449 |
447 } // namespace pnacl | 450 } // namespace pnacl |
OLD | NEW |