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/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "chrome/browser/common/cancelable_request.h" | 13 #include "chrome/browser/common/cancelable_request.h" |
14 #include "chrome/browser/favicon/favicon_types.h" | 14 #include "chrome/browser/favicon/favicon_types.h" |
15 #include "chrome/common/cancelable_task_tracker.h" | 15 #include "chrome/common/cancelable_task_tracker.h" |
16 #include "chrome/common/ref_counted_util.h" | 16 #include "chrome/common/ref_counted_util.h" |
17 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" | 17 #include "components/browser_context_keyed_service/browser_context_keyed_service
.h" |
18 #include "ui/base/layout.h" | 18 #include "ui/base/layout.h" |
19 | 19 |
20 class GURL; | 20 class GURL; |
21 class HistoryService; | 21 class HistoryService; |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 void RunFaviconRawCallbackWithBitmapResults( | 261 void RunFaviconRawCallbackWithBitmapResults( |
262 const FaviconRawCallback& callback, | 262 const FaviconRawCallback& callback, |
263 int desired_size_in_dip, | 263 int desired_size_in_dip, |
264 ui::ScaleFactor desired_scale_factor, | 264 ui::ScaleFactor desired_scale_factor, |
265 const std::vector<chrome::FaviconBitmapResult>& favicon_bitmap_results); | 265 const std::vector<chrome::FaviconBitmapResult>& favicon_bitmap_results); |
266 | 266 |
267 DISALLOW_COPY_AND_ASSIGN(FaviconService); | 267 DISALLOW_COPY_AND_ASSIGN(FaviconService); |
268 }; | 268 }; |
269 | 269 |
270 #endif // CHROME_BROWSER_FAVICON_FAVICON_SERVICE_H_ | 270 #endif // CHROME_BROWSER_FAVICON_FAVICON_SERVICE_H_ |
OLD | NEW |