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

Unified Diff: components/favicon/core/large_icon_service.h

Issue 1318523011: [Password Manager] Copiable username and origin. Linkable origin elided from the left. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Icons appearance fixed Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: components/favicon/core/large_icon_service.h
diff --git a/components/favicon/core/large_icon_service.h b/components/favicon/core/large_icon_service.h
index 94aee4bdc328891c110c9307c612f93368598aa1..8dc331043cdc23f6c5a2ef59be12bfc4792d1ffa 100644
--- a/components/favicon/core/large_icon_service.h
+++ b/components/favicon/core/large_icon_service.h
@@ -17,6 +17,10 @@ namespace base {
class TaskRunner;
}
+namespace favicon_base {
+struct FallbackIconStyle;
+}
+
namespace favicon {
class FaviconService;
@@ -42,11 +46,12 @@ class LargeIconService : public KeyedService {
// For cases 2 and 3, this function returns the style of the fallback icon
// instead of rendering an icon so clients can render the icon themselves.
base::CancelableTaskTracker::TaskId GetLargeIconOrFallbackStyle(
- const GURL& page_url,
- int min_source_size_in_pixel,
- int desired_size_in_pixel,
- const favicon_base::LargeIconCallback& callback,
- base::CancelableTaskTracker* tracker);
+ const GURL& page_url,
+ int min_source_size_in_pixel,
+ int desired_size_in_pixel,
+ const favicon_base::FallbackIconStyle& fallback_icon_style,
+ const favicon_base::LargeIconCallback& callback,
+ base::CancelableTaskTracker* tracker);
private:
// For testing.

Powered by Google App Engine
This is Rietveld 408576698