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

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

Issue 813503003: Move files from chrome/browser/history to components/history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@favicon-owners
Patch Set: Add missing #include of base/macros.h Created 5 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_HISTORY_ANDROID_URLS_SQL_HANDLER_H_
6 #define CHROME_BROWSER_HISTORY_ANDROID_URLS_SQL_HANDLER_H_
7
8 #include "components/history/core/android/sql_handler.h"
9
10 namespace history {
11
12 class URLDatabase;
13
14 // This class is the SQLHandler implementation for urls table.
15 class UrlsSQLHandler : public SQLHandler {
16 public:
17 explicit UrlsSQLHandler(URLDatabase* url_db);
18 virtual ~UrlsSQLHandler();
19
20 // Overriden from SQLHandler.
21 virtual bool Insert(HistoryAndBookmarkRow* row) override;
22 virtual bool Update(const HistoryAndBookmarkRow& row,
23 const TableIDRows& ids_set) override;
24 virtual bool Delete(const TableIDRows& ids_set) override;
25
26 private:
27 URLDatabase* url_db_;
28
29 DISALLOW_COPY_AND_ASSIGN(UrlsSQLHandler);
30 };
31
32 } // namespace history.
33
34 #endif // CHROME_BROWSER_HISTORY_ANDROID_URLS_SQL_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/android/android_urls_sql_handler.cc ('k') | chrome/browser/history/android/urls_sql_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698