Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Side by Side Diff: components/favicon/core/favicon_service_impl.h

Issue 2828173002: [Refactor] Simplify HistoryBackend::UpdateFaviconMappingsAndFetchImpl() signature (Closed)
Patch Set: Merge branch 'master' into icon_type0 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 COMPONENTS_FAVICON_CORE_FAVICON_SERVICE_IMPL_H_ 5 #ifndef COMPONENTS_FAVICON_CORE_FAVICON_SERVICE_IMPL_H_
6 #define COMPONENTS_FAVICON_CORE_FAVICON_SERVICE_IMPL_H_ 6 #define COMPONENTS_FAVICON_CORE_FAVICON_SERVICE_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const favicon_base::FaviconRawBitmapCallback& callback, 74 const favicon_base::FaviconRawBitmapCallback& callback,
75 base::CancelableTaskTracker* tracker) override; 75 base::CancelableTaskTracker* tracker) override;
76 base::CancelableTaskTracker::TaskId GetFaviconForPageURL( 76 base::CancelableTaskTracker::TaskId GetFaviconForPageURL(
77 const GURL& page_url, 77 const GURL& page_url,
78 int icon_types, 78 int icon_types,
79 int desired_size_in_dip, 79 int desired_size_in_dip,
80 const favicon_base::FaviconResultsCallback& callback, 80 const favicon_base::FaviconResultsCallback& callback,
81 base::CancelableTaskTracker* tracker) override; 81 base::CancelableTaskTracker* tracker) override;
82 base::CancelableTaskTracker::TaskId UpdateFaviconMappingsAndFetch( 82 base::CancelableTaskTracker::TaskId UpdateFaviconMappingsAndFetch(
83 const GURL& page_url, 83 const GURL& page_url,
84 const std::vector<GURL>& icon_urls, 84 const GURL& icon_url,
85 int icon_types, 85 favicon_base::IconType icon_type,
86 int desired_size_in_dip, 86 int desired_size_in_dip,
87 const favicon_base::FaviconResultsCallback& callback, 87 const favicon_base::FaviconResultsCallback& callback,
88 base::CancelableTaskTracker* tracker) override; 88 base::CancelableTaskTracker* tracker) override;
89 base::CancelableTaskTracker::TaskId GetLargestRawFaviconForID( 89 base::CancelableTaskTracker::TaskId GetLargestRawFaviconForID(
90 favicon_base::FaviconID favicon_id, 90 favicon_base::FaviconID favicon_id,
91 const favicon_base::FaviconRawBitmapCallback& callback, 91 const favicon_base::FaviconRawBitmapCallback& callback,
92 base::CancelableTaskTracker* tracker) override; 92 base::CancelableTaskTracker* tracker) override;
93 void SetFaviconOutOfDateForPage(const GURL& page_url) override; 93 void SetFaviconOutOfDateForPage(const GURL& page_url) override;
94 void SetImportedFavicons( 94 void SetImportedFavicons(
95 const favicon_base::FaviconUsageDataList& favicon_usage) override; 95 const favicon_base::FaviconUsageDataList& favicon_usage) override;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 base::hash_set<MissingFaviconURLHash> missing_favicon_urls_; 146 base::hash_set<MissingFaviconURLHash> missing_favicon_urls_;
147 std::unique_ptr<FaviconClient> favicon_client_; 147 std::unique_ptr<FaviconClient> favicon_client_;
148 history::HistoryService* history_service_; 148 history::HistoryService* history_service_;
149 149
150 DISALLOW_COPY_AND_ASSIGN(FaviconServiceImpl); 150 DISALLOW_COPY_AND_ASSIGN(FaviconServiceImpl);
151 }; 151 };
152 152
153 } // namespace favicon 153 } // namespace favicon
154 154
155 #endif // COMPONENTS_FAVICON_CORE_FAVICON_SERVICE_IMPL_H_ 155 #endif // COMPONENTS_FAVICON_CORE_FAVICON_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698