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 "components/history/core/browser/history_types.h" | 10 #include "components/history/core/browser/history_types.h" |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 // don't have visit_duration column yet. | 213 // don't have visit_duration column yet. |
214 bool MigrateVisitsWithoutDuration(); | 214 bool MigrateVisitsWithoutDuration(); |
215 | 215 |
216 private: | 216 private: |
217 | 217 |
218 DISALLOW_COPY_AND_ASSIGN(VisitDatabase); | 218 DISALLOW_COPY_AND_ASSIGN(VisitDatabase); |
219 }; | 219 }; |
220 | 220 |
221 // Rows, in order, of the visit table. | 221 // Rows, in order, of the visit table. |
222 #define HISTORY_VISIT_ROW_FIELDS \ | 222 #define HISTORY_VISIT_ROW_FIELDS \ |
223 " id,url,visit_time,from_visit,transition,segment_id,visit_duration " | 223 " id,url,visit_time,from_visit,transition,segment_id,visit_duration,context
" |
224 | 224 |
225 } // namespace history | 225 } // namespace history |
226 | 226 |
227 #endif // COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_ | 227 #endif // COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_ |
OLD | NEW |