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_TOP_SITES_DATABASE_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_DATABASE_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_DATABASE_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_DATABASE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" |
12 #include "components/history/core/browser/history_types.h" | 13 #include "components/history/core/browser/history_types.h" |
13 #include "sql/meta_table.h" | 14 #include "sql/meta_table.h" |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 class FilePath; | 17 class FilePath; |
17 } | 18 } |
18 | 19 |
19 namespace sql { | 20 namespace sql { |
20 class Connection; | 21 class Connection; |
21 } | 22 } |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 101 |
101 scoped_ptr<sql::Connection> db_; | 102 scoped_ptr<sql::Connection> db_; |
102 sql::MetaTable meta_table_; | 103 sql::MetaTable meta_table_; |
103 | 104 |
104 DISALLOW_COPY_AND_ASSIGN(TopSitesDatabase); | 105 DISALLOW_COPY_AND_ASSIGN(TopSitesDatabase); |
105 }; | 106 }; |
106 | 107 |
107 } // namespace history | 108 } // namespace history |
108 | 109 |
109 #endif // COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_DATABASE_H_ | 110 #endif // COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_DATABASE_H_ |
OLD | NEW |