Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: chrome/browser/history/android/bookmark_model_sql_handler.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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; 13 class Profile;
14 14
15 namespace bookmarks { 15 namespace bookmarks {
16 class BookmarkModel; 16 class BookmarkModel;
17 } 17 }
18 18
19 namespace history { 19 namespace history {
20 20
21 class HistoryDatabase; 21 class HistoryDatabase;
22 class URLDatabase;
22 23
23 // The SQL handler for bookmarking_mapping table. 24 // The SQL handler for bookmarking_mapping table.
24 class BookmarkModelSQLHandler : public SQLHandler { 25 class BookmarkModelSQLHandler : public SQLHandler {
25 public: 26 public:
26 explicit BookmarkModelSQLHandler(URLDatabase* url_database); 27 explicit BookmarkModelSQLHandler(URLDatabase* url_database);
27 28
28 ~BookmarkModelSQLHandler() override; 29 ~BookmarkModelSQLHandler() override;
29 30
30 // SQLHandler overrides: 31 // SQLHandler overrides:
31 bool Update(const HistoryAndBookmarkRow& row, 32 bool Update(const HistoryAndBookmarkRow& row,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 }; 75 };
75 76
76 URLDatabase* url_database_; 77 URLDatabase* url_database_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(BookmarkModelSQLHandler); 79 DISALLOW_COPY_AND_ASSIGN(BookmarkModelSQLHandler);
79 }; 80 };
80 81
81 } // namespace history. 82 } // namespace history.
82 83
83 #endif // CHROME_BROWSER_HISTORY_ANDROID_BOOKMARK_MODEL_SQL_HANDLER_H_ 84 #endif // CHROME_BROWSER_HISTORY_ANDROID_BOOKMARK_MODEL_SQL_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698