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

Side by Side Diff: chrome/browser/ui/webui/favicon_source.h

Issue 983043003: Componentize FaviconService and FaviconHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@favicon_service
Patch Set: Fix android_aosp (reverted the change by mistake by switching computer) Created 5 years, 9 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 CHROME_BROWSER_UI_WEBUI_FAVICON_SOURCE_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_FAVICON_SOURCE_H_
6 #define CHROME_BROWSER_UI_WEBUI_FAVICON_SOURCE_H_ 6 #define CHROME_BROWSER_UI_WEBUI_FAVICON_SOURCE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/task/cancelable_task_tracker.h" 13 #include "base/task/cancelable_task_tracker.h"
14 #include "chrome/browser/favicon/favicon_service.h" 14 #include "components/favicon/core/browser/favicon_service.h"
15 #include "content/public/browser/url_data_source.h" 15 #include "content/public/browser/url_data_source.h"
16 #include "ui/gfx/favicon_size.h" 16 #include "ui/gfx/favicon_size.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 // FaviconSource is the gateway between network-level chrome: 20 // FaviconSource is the gateway between network-level chrome:
21 // requests for favicons and the history backend that serves these. 21 // requests for favicons and the history backend that serves these.
22 // 22 //
23 // Format: 23 // Format:
24 // chrome://favicon/size&scalefactor/urlmodifier/url 24 // chrome://favicon/size&scalefactor/urlmodifier/url
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // database doesn't have a favicon for a webpage. Indexed by IconSize values. 134 // database doesn't have a favicon for a webpage. Indexed by IconSize values.
135 scoped_refptr<base::RefCountedMemory> default_favicons_[NUM_SIZES]; 135 scoped_refptr<base::RefCountedMemory> default_favicons_[NUM_SIZES];
136 136
137 // The favicon_base::IconTypes of icon that this FaviconSource handles. 137 // The favicon_base::IconTypes of icon that this FaviconSource handles.
138 int icon_types_; 138 int icon_types_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(FaviconSource); 140 DISALLOW_COPY_AND_ASSIGN(FaviconSource);
141 }; 141 };
142 142
143 #endif // CHROME_BROWSER_UI_WEBUI_FAVICON_SOURCE_H_ 143 #endif // CHROME_BROWSER_UI_WEBUI_FAVICON_SOURCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_icon_source.h ('k') | chrome/browser/ui/webui/ntp/app_launcher_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698