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_FAVICON_CORE_FAVICON_SERVICE_H_ | 5 #ifndef COMPONENTS_FAVICON_CORE_FAVICON_SERVICE_H_ |
6 #define COMPONENTS_FAVICON_CORE_FAVICON_SERVICE_H_ | 6 #define COMPONENTS_FAVICON_CORE_FAVICON_SERVICE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 const GURL& page_url, | 113 const GURL& page_url, |
114 int icon_types, | 114 int icon_types, |
115 int desired_size_in_pixel, | 115 int desired_size_in_pixel, |
116 const favicon_base::FaviconRawBitmapCallback& callback, | 116 const favicon_base::FaviconRawBitmapCallback& callback, |
117 base::CancelableTaskTracker* tracker); | 117 base::CancelableTaskTracker* tracker); |
118 | 118 |
119 // See HistoryService::GetLargestFaviconForPageURL(). | 119 // See HistoryService::GetLargestFaviconForPageURL(). |
120 base::CancelableTaskTracker::TaskId GetLargestRawFaviconForPageURL( | 120 base::CancelableTaskTracker::TaskId GetLargestRawFaviconForPageURL( |
121 const GURL& page_url, | 121 const GURL& page_url, |
122 const std::vector<int>& icon_types, | 122 const std::vector<int>& icon_types, |
123 int minimum_size_in_pixels, | 123 int minimum_size_in_pixel, |
124 const favicon_base::FaviconRawBitmapCallback& callback, | 124 const favicon_base::FaviconRawBitmapCallback& callback, |
125 base::CancelableTaskTracker* tracker); | 125 base::CancelableTaskTracker* tracker); |
126 | 126 |
127 base::CancelableTaskTracker::TaskId GetFaviconForPageURL( | 127 base::CancelableTaskTracker::TaskId GetFaviconForPageURL( |
128 const GURL& page_url, | 128 const GURL& page_url, |
129 int icon_types, | 129 int icon_types, |
130 int desired_size_in_dip, | 130 int desired_size_in_dip, |
131 const favicon_base::FaviconResultsCallback& callback, | 131 const favicon_base::FaviconResultsCallback& callback, |
132 base::CancelableTaskTracker* tracker); | 132 base::CancelableTaskTracker* tracker); |
133 | 133 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 base::hash_set<MissingFaviconURLHash> missing_favicon_urls_; | 243 base::hash_set<MissingFaviconURLHash> missing_favicon_urls_; |
244 history::HistoryService* history_service_; | 244 history::HistoryService* history_service_; |
245 FaviconClient* favicon_client_; | 245 FaviconClient* favicon_client_; |
246 | 246 |
247 DISALLOW_COPY_AND_ASSIGN(FaviconService); | 247 DISALLOW_COPY_AND_ASSIGN(FaviconService); |
248 }; | 248 }; |
249 | 249 |
250 } // namespace favicon | 250 } // namespace favicon |
251 | 251 |
252 #endif // COMPONENTS_FAVICON_CORE_FAVICON_SERVICE_H_ | 252 #endif // COMPONENTS_FAVICON_CORE_FAVICON_SERVICE_H_ |
OLD | NEW |