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 CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
235 history::RedirectList* redirects); | 235 history::RedirectList* redirects); |
236 | 236 |
237 // Favicon ------------------------------------------------------------------- | 237 // Favicon ------------------------------------------------------------------- |
238 | 238 |
239 void GetFavicons(const std::vector<GURL>& icon_urls, | 239 void GetFavicons(const std::vector<GURL>& icon_urls, |
240 int icon_types, | 240 int icon_types, |
241 int desired_size_in_dip, | 241 int desired_size_in_dip, |
242 const std::vector<ui::ScaleFactor>& desired_scale_factors, | 242 const std::vector<ui::ScaleFactor>& desired_scale_factors, |
243 std::vector<chrome::FaviconBitmapResult>* bitmap_results); | 243 std::vector<chrome::FaviconBitmapResult>* bitmap_results); |
244 | 244 |
245 void GetLargestFaviconForURL( | |
246 const GURL& page_url, | |
247 const std::vector<int>& icon_types, | |
248 int minimal_size_in_pixels, | |
sky
2013/10/16 13:27:16
minimum_size_in_pixels
michaelbai
2013/10/16 18:17:05
Done.
| |
249 std::vector<chrome::FaviconBitmapResult>* bitmap_results); | |
250 | |
245 void GetFaviconsForURL( | 251 void GetFaviconsForURL( |
246 const GURL& page_url, | 252 const GURL& page_url, |
247 int icon_types, | 253 int icon_types, |
248 int desired_size_in_dip, | 254 int desired_size_in_dip, |
249 const std::vector<ui::ScaleFactor>& desired_scale_factors, | 255 const std::vector<ui::ScaleFactor>& desired_scale_factors, |
250 std::vector<chrome::FaviconBitmapResult>* bitmap_results); | 256 std::vector<chrome::FaviconBitmapResult>* bitmap_results); |
251 | 257 |
252 void GetFaviconForID( | 258 void GetFaviconForID( |
253 chrome::FaviconID favicon_id, | 259 chrome::FaviconID favicon_id, |
254 int desired_size_in_dip, | 260 int desired_size_in_dip, |
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
908 | 914 |
909 // Listens for the system being under memory pressure. | 915 // Listens for the system being under memory pressure. |
910 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 916 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
911 | 917 |
912 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 918 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
913 }; | 919 }; |
914 | 920 |
915 } // namespace history | 921 } // namespace history |
916 | 922 |
917 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 923 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
OLD | NEW |