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 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_EXPIRE_HISTORY_BACKEND_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_EXPIRE_HISTORY_BACKEND_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_EXPIRE_HISTORY_BACKEND_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_EXPIRE_HISTORY_BACKEND_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | |
13 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "components/history/core/browser/history_types.h" | 17 #include "components/history/core/browser/history_types.h" |
18 | 18 |
19 class GURL; | 19 class GURL; |
20 class TestingProfile; | 20 class TestingProfile; |
21 | 21 |
22 namespace history { | 22 namespace history { |
23 | 23 |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 // Used to generate runnable methods to do timers on this class. They will be | 259 // Used to generate runnable methods to do timers on this class. They will be |
260 // automatically canceled when this class is deleted. | 260 // automatically canceled when this class is deleted. |
261 base::WeakPtrFactory<ExpireHistoryBackend> weak_factory_; | 261 base::WeakPtrFactory<ExpireHistoryBackend> weak_factory_; |
262 | 262 |
263 DISALLOW_COPY_AND_ASSIGN(ExpireHistoryBackend); | 263 DISALLOW_COPY_AND_ASSIGN(ExpireHistoryBackend); |
264 }; | 264 }; |
265 | 265 |
266 } // namespace history | 266 } // namespace history |
267 | 267 |
268 #endif // COMPONENTS_HISTORY_CORE_BROWSER_EXPIRE_HISTORY_BACKEND_H_ | 268 #endif // COMPONENTS_HISTORY_CORE_BROWSER_EXPIRE_HISTORY_BACKEND_H_ |
OLD | NEW |