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 #include "chrome/browser/favicon/favicon_tab_helper.h" | 5 #include "chrome/browser/favicon/favicon_tab_helper.h" |
6 | 6 |
7 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 7 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
8 #include "chrome/browser/chrome_notification_types.h" | 8 #include "chrome/browser/chrome_notification_types.h" |
9 #include "chrome/browser/favicon/favicon_handler.h" | 9 #include "chrome/browser/favicon/favicon_handler.h" |
| 10 #include "chrome/browser/favicon/favicon_service.h" |
10 #include "chrome/browser/favicon/favicon_service_factory.h" | 11 #include "chrome/browser/favicon/favicon_service_factory.h" |
11 #include "chrome/browser/favicon/favicon_util.h" | 12 #include "chrome/browser/favicon/favicon_util.h" |
12 #include "chrome/browser/history/history_service.h" | 13 #include "chrome/browser/history/history_service.h" |
13 #include "chrome/browser/history/history_service_factory.h" | 14 #include "chrome/browser/history/history_service_factory.h" |
14 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
15 #include "chrome/browser/search/search.h" | 16 #include "chrome/browser/search/search.h" |
16 #include "chrome/common/chrome_constants.h" | 17 #include "chrome/common/chrome_constants.h" |
17 #include "chrome/common/url_constants.h" | 18 #include "chrome/common/url_constants.h" |
18 #include "components/bookmarks/core/browser/bookmark_model.h" | 19 #include "components/bookmarks/core/browser/bookmark_model.h" |
19 #include "components/favicon_base/favicon_types.h" | 20 #include "components/favicon_base/favicon_types.h" |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 favicon_service->UnableToDownloadFavicon(image_url); | 286 favicon_service->UnableToDownloadFavicon(image_url); |
286 } | 287 } |
287 | 288 |
288 favicon_handler_->OnDidDownloadFavicon( | 289 favicon_handler_->OnDidDownloadFavicon( |
289 id, image_url, bitmaps, original_bitmap_sizes); | 290 id, image_url, bitmaps, original_bitmap_sizes); |
290 if (touch_icon_handler_.get()) { | 291 if (touch_icon_handler_.get()) { |
291 touch_icon_handler_->OnDidDownloadFavicon( | 292 touch_icon_handler_->OnDidDownloadFavicon( |
292 id, image_url, bitmaps, original_bitmap_sizes); | 293 id, image_url, bitmaps, original_bitmap_sizes); |
293 } | 294 } |
294 } | 295 } |
OLD | NEW |