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 "components/history/core/browser/expire_history_backend.h" | 5 #include "components/history/core/browser/expire_history_backend.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <functional> | 10 #include <functional> |
9 #include <limits> | 11 #include <limits> |
10 | 12 |
11 #include "base/bind.h" | 13 #include "base/bind.h" |
12 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
13 #include "base/files/file_enumerator.h" | 15 #include "base/files/file_enumerator.h" |
14 #include "base/files/file_util.h" | 16 #include "base/files/file_util.h" |
15 #include "base/location.h" | 17 #include "base/location.h" |
16 #include "base/logging.h" | 18 #include "base/logging.h" |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 BroadcastNotifications(&deleted_effects, DELETION_EXPIRED); | 503 BroadcastNotifications(&deleted_effects, DELETION_EXPIRED); |
502 | 504 |
503 return more_to_expire; | 505 return more_to_expire; |
504 } | 506 } |
505 | 507 |
506 void ExpireHistoryBackend::ParanoidExpireHistory() { | 508 void ExpireHistoryBackend::ParanoidExpireHistory() { |
507 // TODO(brettw): Bug 1067331: write this to clean up any errors. | 509 // TODO(brettw): Bug 1067331: write this to clean up any errors. |
508 } | 510 } |
509 | 511 |
510 } // namespace history | 512 } // namespace history |
OLD | NEW |