OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/browsing_data/conditional_cache_deletion_helper.h" | 5 #include "components/browsing_data/content/conditional_cache_deletion_helper.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
10 #include "base/threading/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 bool EntryPredicateFromURLsAndTime( | 15 bool EntryPredicateFromURLsAndTime( |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 previous_entry_ = current_entry_; | 88 previous_entry_ = current_entry_; |
89 error = iterator_->OpenNextEntry( | 89 error = iterator_->OpenNextEntry( |
90 ¤t_entry_, | 90 ¤t_entry_, |
91 base::Bind(&ConditionalCacheDeletionHelper::IterateOverEntries, | 91 base::Bind(&ConditionalCacheDeletionHelper::IterateOverEntries, |
92 base::Unretained(this))); | 92 base::Unretained(this))); |
93 } | 93 } |
94 } | 94 } |
95 | 95 |
96 } // namespace browsing_data | 96 } // namespace browsing_data |
OLD | NEW |