OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TOP_SITES_BACKEND_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_BACKEND_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_BACKEND_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_BACKEND_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "components/history/core/browser/history_types.h" | 13 #include "components/history/core/browser/history_types.h" |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 class CancelableTaskTracker; | 16 class CancelableTaskTracker; |
16 class FilePath; | 17 class FilePath; |
17 class SingleThreadTaskRunner; | 18 class SingleThreadTaskRunner; |
18 } | 19 } |
19 | 20 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 103 |
103 scoped_ptr<TopSitesDatabase> db_; | 104 scoped_ptr<TopSitesDatabase> db_; |
104 scoped_refptr<base::SingleThreadTaskRunner> db_task_runner_; | 105 scoped_refptr<base::SingleThreadTaskRunner> db_task_runner_; |
105 | 106 |
106 DISALLOW_COPY_AND_ASSIGN(TopSitesBackend); | 107 DISALLOW_COPY_AND_ASSIGN(TopSitesBackend); |
107 }; | 108 }; |
108 | 109 |
109 } // namespace history | 110 } // namespace history |
110 | 111 |
111 #endif // COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_BACKEND_H_ | 112 #endif // COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_BACKEND_H_ |
OLD | NEW |