OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <vector> | |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/callback.h" | 12 #include "base/callback.h" |
14 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
15 #include "chrome/browser/cancelable_request.h" | 14 #include "chrome/browser/cancelable_request.h" |
16 #include "chrome/browser/favicon_service.h" | 15 #include "chrome/browser/favicon_service.h" |
17 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 16 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
18 #include "chrome/common/ref_counted_util.h" | 17 #include "chrome/common/ref_counted_util.h" |
19 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
20 | 19 |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 bool fav_icon_expired_; | 180 bool fav_icon_expired_; |
182 | 181 |
183 // Requests to the renderer to download favicons. | 182 // Requests to the renderer to download favicons. |
184 typedef std::map<int, DownloadRequest> DownloadRequests; | 183 typedef std::map<int, DownloadRequest> DownloadRequests; |
185 DownloadRequests download_requests_; | 184 DownloadRequests download_requests_; |
186 | 185 |
187 DISALLOW_COPY_AND_ASSIGN(FavIconHelper); | 186 DISALLOW_COPY_AND_ASSIGN(FavIconHelper); |
188 }; | 187 }; |
189 | 188 |
190 #endif // CHROME_BROWSER_FAV_ICON_HELPER_H__ | 189 #endif // CHROME_BROWSER_FAV_ICON_HELPER_H__ |
OLD | NEW |