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_DOWNLOAD_DELEGATE_H_ | |
6 #define CHROME_BROWSER_FAVICON_FAVICON_DOWNLOAD_DELEGATE_H_ | |
7 | |
8 #include <vector> | |
9 | |
10 class GURL; | |
11 class SkBitmap; | |
12 | |
13 // This class provides a delegate interface for a FaviconDownloadHelper. It | |
14 // allows the FaviconDownloadHelper to pass favicon data back to its caller. | |
15 class FaviconDownloadDelegate { | |
Jói
2012/10/16 21:56:52
Seems like this should be named FaviconDownloadHel
Cait (Slow)
2012/10/17 16:00:42
Done.
| |
16 public: | |
17 virtual void OnDidDownloadFavicon( | |
Jói
2012/10/16 21:56:52
Needs documentation.
Cait (Slow)
2012/10/17 16:00:42
Done.
| |
18 int id, | |
19 const GURL& image_url, | |
20 bool errored, | |
21 int requested_size, | |
22 const std::vector<SkBitmap>& bitmaps) = 0; | |
23 }; | |
24 | |
25 #endif // CHROME_BROWSER_FAVICON_FAVICON_DOWNLOAD_DELEGATE_H_ | |
OLD | NEW |