Chromium Code Reviews| Index: chrome/browser/favicon/favicon_util.h |
| diff --git a/chrome/browser/favicon/favicon_util.h b/chrome/browser/favicon/favicon_util.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a2036bfb4f5897c83491e24a64fb71ffd5db9ecf |
| --- /dev/null |
| +++ b/chrome/browser/favicon/favicon_util.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_FAVICON_FAVICON_UTIL_H_ |
| +#define CHROME_BROWSER_FAVICON_FAVICON_UTIL_H_ |
| +#pragma once |
| + |
| +class GURL; |
| + |
| +namespace content { |
| +class RenderViewHost; |
| +} |
| + |
|
stevenjb
2012/07/10 15:30:15
We should put a brief class description here, e.g.
|
| +class FaviconUtil { |
| + public: |
| + // Starts the download of the given favicon |url| from the given render view |
| + // host. When the download is finished, an IconHostMsg_DidDownloadFavicon IPC |
| + // message will be sent. |
| + // Returns the unique id of the download request. The id will be sent in the |
| + // IPC message. |
| + static int DownloadFavicon(content::RenderViewHost* rvh, |
| + GURL url, |
| + int image_size); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_FAVICON_FAVICON_UTIL_H_ |