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

Side by Side Diff: components/history/core/browser/android/android_urls_sql_handler.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 months 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
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 COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_URLS_SQL_HANDLER_H_ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_URLS_SQL_HANDLER_H_
6 #define COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_URLS_SQL_HANDLER_H_ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_URLS_SQL_HANDLER_H_
7 7
8 #include "base/macros.h"
8 #include "components/history/core/browser/android/sql_handler.h" 9 #include "components/history/core/browser/android/sql_handler.h"
9 10
10 namespace history { 11 namespace history {
11 12
12 class AndroidURLsDatabase; 13 class AndroidURLsDatabase;
13 14
14 // The SQLHanlder implementation for android_urls table. 15 // The SQLHanlder implementation for android_urls table.
15 class AndroidURLsSQLHandler : public SQLHandler { 16 class AndroidURLsSQLHandler : public SQLHandler {
16 public: 17 public:
17 explicit AndroidURLsSQLHandler(AndroidURLsDatabase* android_urls_db); 18 explicit AndroidURLsSQLHandler(AndroidURLsDatabase* android_urls_db);
18 ~AndroidURLsSQLHandler() override; 19 ~AndroidURLsSQLHandler() override;
19 20
20 bool Update(const HistoryAndBookmarkRow& row, 21 bool Update(const HistoryAndBookmarkRow& row,
21 const TableIDRows& ids_set) override; 22 const TableIDRows& ids_set) override;
22 23
23 bool Insert(HistoryAndBookmarkRow* row) override; 24 bool Insert(HistoryAndBookmarkRow* row) override;
24 25
25 bool Delete(const TableIDRows& ids_set) override; 26 bool Delete(const TableIDRows& ids_set) override;
26 27
27 private: 28 private:
28 AndroidURLsDatabase* android_urls_db_; 29 AndroidURLsDatabase* android_urls_db_;
29 30
30 DISALLOW_COPY_AND_ASSIGN(AndroidURLsSQLHandler); 31 DISALLOW_COPY_AND_ASSIGN(AndroidURLsSQLHandler);
31 }; 32 };
32 33
33 } // namespace history. 34 } // namespace history.
34 35
35 #endif // COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_URLS_SQL_HANDLER_H_ 36 #endif // COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_URLS_SQL_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698