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_ANDROID_SQL_HANDLER_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_SQL_HANDLER_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_SQL_HANDLER_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_SQL_HANDLER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "components/history/core/browser/android/android_history_types.h" | 9 #include "components/history/core/browser/android/android_history_types.h" |
9 | 10 |
10 namespace history { | 11 namespace history { |
11 | 12 |
12 // This is a wrapper of information needed for Insert/Update/Delete | 13 // This is a wrapper of information needed for Insert/Update/Delete |
13 // method in SQLHandler. Refer to SQLHandler's comment below for how | 14 // method in SQLHandler. Refer to SQLHandler's comment below for how |
14 // it is used. | 15 // it is used. |
15 struct TableIDRow { | 16 struct TableIDRow { |
16 TableIDRow(); | 17 TableIDRow(); |
17 ~TableIDRow(); | 18 ~TableIDRow(); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 private: | 67 private: |
67 // The columns of this handler. | 68 // The columns of this handler. |
68 const std::set<HistoryAndBookmarkRow::ColumnID> columns_; | 69 const std::set<HistoryAndBookmarkRow::ColumnID> columns_; |
69 | 70 |
70 DISALLOW_COPY_AND_ASSIGN(SQLHandler); | 71 DISALLOW_COPY_AND_ASSIGN(SQLHandler); |
71 }; | 72 }; |
72 | 73 |
73 } // namespace history. | 74 } // namespace history. |
74 | 75 |
75 #endif // COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_SQL_HANDLER_H_ | 76 #endif // COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_SQL_HANDLER_H_ |
OLD | NEW |