| 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 CHROME_BROWSER_HISTORY_ANDROID_BOOKMARK_MODEL_SQL_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_ANDROID_BOOKMARK_MODEL_SQL_HANDLER_H_ |
| 6 #define CHROME_BROWSER_HISTORY_ANDROID_BOOKMARK_MODEL_SQL_HANDLER_H_ | 6 #define CHROME_BROWSER_HISTORY_ANDROID_BOOKMARK_MODEL_SQL_HANDLER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "components/history/core/browser/android/sql_handler.h" | 11 #include "components/history/core/browser/android/sql_handler.h" |
| 12 | 12 |
| 13 class Profile; | |
| 14 | |
| 15 namespace bookmarks { | 13 namespace bookmarks { |
| 16 class BookmarkModel; | 14 class BookmarkModel; |
| 17 } | 15 } |
| 18 | 16 |
| 19 namespace history { | 17 namespace history { |
| 20 | 18 |
| 21 class HistoryDatabase; | |
| 22 class URLDatabase; | 19 class URLDatabase; |
| 23 | 20 |
| 24 // The SQL handler for bookmarking_mapping table. | 21 // The SQL handler for bookmarking_mapping table. |
| 25 class BookmarkModelSQLHandler : public SQLHandler { | 22 class BookmarkModelSQLHandler : public SQLHandler { |
| 26 public: | 23 public: |
| 27 explicit BookmarkModelSQLHandler(URLDatabase* url_database); | 24 explicit BookmarkModelSQLHandler(URLDatabase* url_database); |
| 28 | 25 |
| 29 ~BookmarkModelSQLHandler() override; | 26 ~BookmarkModelSQLHandler() override; |
| 30 | 27 |
| 31 // SQLHandler overrides: | 28 // SQLHandler overrides: |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 }; | 72 }; |
| 76 | 73 |
| 77 URLDatabase* url_database_; | 74 URLDatabase* url_database_; |
| 78 | 75 |
| 79 DISALLOW_COPY_AND_ASSIGN(BookmarkModelSQLHandler); | 76 DISALLOW_COPY_AND_ASSIGN(BookmarkModelSQLHandler); |
| 80 }; | 77 }; |
| 81 | 78 |
| 82 } // namespace history. | 79 } // namespace history. |
| 83 | 80 |
| 84 #endif // CHROME_BROWSER_HISTORY_ANDROID_BOOKMARK_MODEL_SQL_HANDLER_H_ | 81 #endif // CHROME_BROWSER_HISTORY_ANDROID_BOOKMARK_MODEL_SQL_HANDLER_H_ |
| OLD | NEW |