Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 #pragma once | |
| 8 | |
| 9 class GURL; | |
| 10 | |
| 11 namespace content { | |
| 12 class RenderViewHost; | |
| 13 } | |
| 14 | |
|
stevenjb
2012/07/10 15:30:15
We should put a brief class description here, e.g.
| |
| 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_ | |
| OLD | NEW |