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_VISIT_DATABASE_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "components/history/core/browser/history_types.h" | 11 #include "components/history/core/browser/history_types.h" |
11 | 12 |
12 namespace sql { | 13 namespace sql { |
13 class Connection; | 14 class Connection; |
14 class Statement; | 15 class Statement; |
15 } | 16 } |
16 | 17 |
17 namespace history { | 18 namespace history { |
18 | 19 |
19 class VisitFilter; | 20 class VisitFilter; |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 DISALLOW_COPY_AND_ASSIGN(VisitDatabase); | 229 DISALLOW_COPY_AND_ASSIGN(VisitDatabase); |
229 }; | 230 }; |
230 | 231 |
231 // Rows, in order, of the visit table. | 232 // Rows, in order, of the visit table. |
232 #define HISTORY_VISIT_ROW_FIELDS \ | 233 #define HISTORY_VISIT_ROW_FIELDS \ |
233 " id,url,visit_time,from_visit,transition,segment_id,visit_duration " | 234 " id,url,visit_time,from_visit,transition,segment_id,visit_duration " |
234 | 235 |
235 } // namespace history | 236 } // namespace history |
236 | 237 |
237 #endif // COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_ | 238 #endif // COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_ |
OLD | NEW |