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_FAVICON_SQL_HANDLER_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_FAVICON_SQL_HANDLER_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_FAVICON_SQL_HANDLER_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_FAVICON_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 ThumbnailDatabase; | 13 class ThumbnailDatabase; |
13 | 14 |
14 // The SQL handler implementation for icon_mapping and favicon table. | 15 // The SQL handler implementation for icon_mapping and favicon table. |
15 class FaviconSQLHandler : public SQLHandler { | 16 class FaviconSQLHandler : public SQLHandler { |
16 public: | 17 public: |
17 explicit FaviconSQLHandler(ThumbnailDatabase* thumbnail_db); | 18 explicit FaviconSQLHandler(ThumbnailDatabase* thumbnail_db); |
(...skipping 11 matching lines...) Expand all Loading... |
29 bool DeleteUnusedFavicon(const std::vector<favicon_base::FaviconID>& ids); | 30 bool DeleteUnusedFavicon(const std::vector<favicon_base::FaviconID>& ids); |
30 | 31 |
31 ThumbnailDatabase* thumbnail_db_; | 32 ThumbnailDatabase* thumbnail_db_; |
32 | 33 |
33 DISALLOW_COPY_AND_ASSIGN(FaviconSQLHandler); | 34 DISALLOW_COPY_AND_ASSIGN(FaviconSQLHandler); |
34 }; | 35 }; |
35 | 36 |
36 } // namespace history. | 37 } // namespace history. |
37 | 38 |
38 #endif // COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_FAVICON_SQL_HANDLER_H_ | 39 #endif // COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_FAVICON_SQL_HANDLER_H_ |
OLD | NEW |