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 #include "components/history/core/browser/android/android_history_types.h" | 5 #include "components/history/core/browser/android/android_history_types.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 9 #include "base/macros.h" |
7 #include "sql/statement.h" | 10 #include "sql/statement.h" |
8 | 11 |
9 namespace history { | 12 namespace history { |
10 | 13 |
11 namespace { | 14 namespace { |
12 // The column name defined in android.provider.Browser.BookmarkColumns | 15 // The column name defined in android.provider.Browser.BookmarkColumns |
13 const char* const kAndroidBookmarkColumn[] = { | 16 const char* const kAndroidBookmarkColumn[] = { |
14 "_id", | 17 "_id", |
15 "url", | 18 "url", |
16 "title", | 19 "title", |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 } | 131 } |
129 | 132 |
130 AndroidStatement::AndroidStatement(sql::Statement* statement, int favicon_index) | 133 AndroidStatement::AndroidStatement(sql::Statement* statement, int favicon_index) |
131 : statement_(statement), favicon_index_(favicon_index) { | 134 : statement_(statement), favicon_index_(favicon_index) { |
132 } | 135 } |
133 | 136 |
134 AndroidStatement::~AndroidStatement() { | 137 AndroidStatement::~AndroidStatement() { |
135 } | 138 } |
136 | 139 |
137 } // namespace history. | 140 } // namespace history. |
OLD | NEW |