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

Side by Side Diff: chrome/browser/favicon/favicon_util.h

Issue 10765021: Make the id used in IconMsg_DownloadFavicon unique (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/favicon/favicon_tab_helper.cc ('k') | chrome/browser/favicon/favicon_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_FAVICON_FAVICON_UTIL_H_
6 #define CHROME_BROWSER_FAVICON_FAVICON_UTIL_H_
7
8 class GURL;
9
10 namespace content {
11 class RenderViewHost;
12 }
13
14 // Utility class for common favicon related code.
15 class FaviconUtil {
16 public:
17 // Starts the download of the given favicon |url| from the given render view
18 // host. When the download is finished, an IconHostMsg_DidDownloadFavicon IPC
19 // message will be sent.
20 // Returns the unique id of the download request. The id will be sent in the
21 // IPC message.
22 static int DownloadFavicon(content::RenderViewHost* rvh,
23 GURL url,
24 int image_size);
25 };
26
27 #endif // CHROME_BROWSER_FAVICON_FAVICON_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/favicon/favicon_tab_helper.cc ('k') | chrome/browser/favicon/favicon_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698