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 CHROME_BROWSER_HISTORY_EXPIRE_HISTORY_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_EXPIRE_HISTORY_BACKEND_H_ |
6 #define CHROME_BROWSER_HISTORY_EXPIRE_HISTORY_BACKEND_H_ | 6 #define CHROME_BROWSER_HISTORY_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" | 12 #include "base/basictypes.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.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 "chrome/browser/history/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 |
24 class HistoryClient; | 24 class HistoryClient; |
25 class HistoryDatabase; | 25 class HistoryDatabase; |
26 struct HistoryDetails; | 26 struct HistoryDetails; |
27 class ThumbnailDatabase; | 27 class ThumbnailDatabase; |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 // Used to generate runnable methods to do timers on this class. They will be | 280 // Used to generate runnable methods to do timers on this class. They will be |
281 // automatically canceled when this class is deleted. | 281 // automatically canceled when this class is deleted. |
282 base::WeakPtrFactory<ExpireHistoryBackend> weak_factory_; | 282 base::WeakPtrFactory<ExpireHistoryBackend> weak_factory_; |
283 | 283 |
284 DISALLOW_COPY_AND_ASSIGN(ExpireHistoryBackend); | 284 DISALLOW_COPY_AND_ASSIGN(ExpireHistoryBackend); |
285 }; | 285 }; |
286 | 286 |
287 } // namespace history | 287 } // namespace history |
288 | 288 |
289 #endif // CHROME_BROWSER_HISTORY_EXPIRE_HISTORY_BACKEND_H_ | 289 #endif // CHROME_BROWSER_HISTORY_EXPIRE_HISTORY_BACKEND_H_ |
OLD | NEW |