| 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_FAVICON_FAVICON_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_FAVICON_FAVICON_SERVICE_H_ |
| 6 #define CHROME_BROWSER_FAVICON_FAVICON_SERVICE_H_ | 6 #define CHROME_BROWSER_FAVICON_FAVICON_SERVICE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "chrome/browser/cancelable_request.h" | 12 #include "chrome/browser/common/cancelable_request.h" |
| 13 #include "chrome/browser/history/history_types.h" | 13 #include "chrome/browser/history/history_types.h" |
| 14 #include "chrome/browser/profiles/profile_keyed_service.h" | 14 #include "chrome/browser/profiles/profile_keyed_service.h" |
| 15 #include "chrome/common/ref_counted_util.h" | 15 #include "chrome/common/ref_counted_util.h" |
| 16 #include "ui/base/layout.h" | 16 #include "ui/base/layout.h" |
| 17 | 17 |
| 18 class GURL; | 18 class GURL; |
| 19 class HistoryService; | 19 class HistoryService; |
| 20 class Profile; | 20 class Profile; |
| 21 | 21 |
| 22 // The favicon service provides methods to access favicons. It calls the history | 22 // The favicon service provides methods to access favicons. It calls the history |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 ui::ScaleFactor desired_scale_factor, | 270 ui::ScaleFactor desired_scale_factor, |
| 271 FaviconRawCallback callback, | 271 FaviconRawCallback callback, |
| 272 Handle handle, | 272 Handle handle, |
| 273 std::vector<history::FaviconBitmapResult> favicon_bitmap_results, | 273 std::vector<history::FaviconBitmapResult> favicon_bitmap_results, |
| 274 history::IconURLSizesMap icon_url_sizes_map); | 274 history::IconURLSizesMap icon_url_sizes_map); |
| 275 | 275 |
| 276 DISALLOW_COPY_AND_ASSIGN(FaviconService); | 276 DISALLOW_COPY_AND_ASSIGN(FaviconService); |
| 277 }; | 277 }; |
| 278 | 278 |
| 279 #endif // CHROME_BROWSER_FAVICON_FAVICON_SERVICE_H_ | 279 #endif // CHROME_BROWSER_FAVICON_FAVICON_SERVICE_H_ |
| OLD | NEW |