| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_FAV_ICON_HELPER_H__ | 5 #ifndef CHROME_BROWSER_FAV_ICON_HELPER_H__ |
| 6 #define CHROME_BROWSER_FAV_ICON_HELPER_H__ | 6 #define CHROME_BROWSER_FAV_ICON_HELPER_H__ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/ref_counted_memory.h" |
| 12 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 13 #include "chrome/browser/cancelable_request.h" | 14 #include "chrome/browser/cancelable_request.h" |
| 14 #include "chrome/browser/favicon_service.h" | 15 #include "chrome/browser/favicon_service.h" |
| 15 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 16 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 16 #include "chrome/common/ref_counted_util.h" | 17 #include "chrome/common/ref_counted_util.h" |
| 17 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
| 18 | 19 |
| 19 class NavigationEntry; | 20 class NavigationEntry; |
| 20 class Profile; | 21 class Profile; |
| 21 class SkBitmap; | 22 class SkBitmap; |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 bool fav_icon_expired_; | 168 bool fav_icon_expired_; |
| 168 | 169 |
| 169 // Requests to the renderer to download favicons. | 170 // Requests to the renderer to download favicons. |
| 170 typedef std::map<int, DownloadRequest> DownloadRequests; | 171 typedef std::map<int, DownloadRequest> DownloadRequests; |
| 171 DownloadRequests download_requests_; | 172 DownloadRequests download_requests_; |
| 172 | 173 |
| 173 DISALLOW_EVIL_CONSTRUCTORS(FavIconHelper); | 174 DISALLOW_EVIL_CONSTRUCTORS(FavIconHelper); |
| 174 }; | 175 }; |
| 175 | 176 |
| 176 #endif // CHROME_BROWSER_FAV_ICON_HELPER_H__ | 177 #endif // CHROME_BROWSER_FAV_ICON_HELPER_H__ |
| OLD | NEW |