| 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 "base/metrics/field_trial.h" | 7 #include "base/metrics/field_trial.h" |
| 8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
| 9 #include "chrome/browser/chrome_notification_types.h" | 9 #include "chrome/browser/chrome_notification_types.h" |
| 10 #include "chrome/browser/favicon/chrome_favicon_client.h" | 10 #include "chrome/browser/favicon/chrome_favicon_client.h" |
| 11 #include "chrome/browser/favicon/chrome_favicon_client_factory.h" | 11 #include "chrome/browser/favicon/chrome_favicon_client_factory.h" |
| 12 #include "chrome/browser/favicon/favicon_service_factory.h" | 12 #include "chrome/browser/favicon/favicon_service_factory.h" |
| 13 #include "chrome/browser/history/history_service_factory.h" | 13 #include "chrome/browser/history/history_service_factory.h" |
| 14 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
| 15 #include "chrome/browser/search/search.h" | 15 #include "chrome/browser/search/search.h" |
| 16 #include "chrome/common/chrome_constants.h" | 16 #include "chrome/common/chrome_constants.h" |
| 17 #include "chrome/common/url_constants.h" | 17 #include "chrome/common/url_constants.h" |
| 18 #include "components/favicon/core/browser/favicon_handler.h" | 18 #include "components/favicon/core/favicon_handler.h" |
| 19 #include "components/favicon/core/browser/favicon_service.h" | 19 #include "components/favicon/core/favicon_service.h" |
| 20 #include "components/favicon/core/browser/favicon_tab_helper_observer.h" | 20 #include "components/favicon/core/favicon_tab_helper_observer.h" |
| 21 #include "components/favicon_base/favicon_types.h" | 21 #include "components/favicon_base/favicon_types.h" |
| 22 #include "components/history/core/browser/history_service.h" | 22 #include "components/history/core/browser/history_service.h" |
| 23 #include "content/public/browser/favicon_status.h" | 23 #include "content/public/browser/favicon_status.h" |
| 24 #include "content/public/browser/invalidate_type.h" | 24 #include "content/public/browser/invalidate_type.h" |
| 25 #include "content/public/browser/navigation_controller.h" | 25 #include "content/public/browser/navigation_controller.h" |
| 26 #include "content/public/browser/navigation_details.h" | 26 #include "content/public/browser/navigation_details.h" |
| 27 #include "content/public/browser/navigation_entry.h" | 27 #include "content/public/browser/navigation_entry.h" |
| 28 #include "content/public/browser/notification_service.h" | 28 #include "content/public/browser/notification_service.h" |
| 29 #include "content/public/browser/render_view_host.h" | 29 #include "content/public/browser/render_view_host.h" |
| 30 #include "content/public/browser/web_contents.h" | 30 #include "content/public/browser/web_contents.h" |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 id, image_url, bitmaps, original_bitmap_sizes); | 340 id, image_url, bitmaps, original_bitmap_sizes); |
| 341 if (touch_icon_handler_.get()) { | 341 if (touch_icon_handler_.get()) { |
| 342 touch_icon_handler_->OnDidDownloadFavicon( | 342 touch_icon_handler_->OnDidDownloadFavicon( |
| 343 id, image_url, bitmaps, original_bitmap_sizes); | 343 id, image_url, bitmaps, original_bitmap_sizes); |
| 344 } | 344 } |
| 345 if (large_icon_handler_.get()) { | 345 if (large_icon_handler_.get()) { |
| 346 large_icon_handler_->OnDidDownloadFavicon( | 346 large_icon_handler_->OnDidDownloadFavicon( |
| 347 id, image_url, bitmaps, original_bitmap_sizes); | 347 id, image_url, bitmaps, original_bitmap_sizes); |
| 348 } | 348 } |
| 349 } | 349 } |
| OLD | NEW |