OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_FAVICON_FAVICON_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_FAVICON_FAVICON_HANDLER_H_ |
6 #define CHROME_BROWSER_FAVICON_FAVICON_HANDLER_H_ | 6 #define CHROME_BROWSER_FAVICON_FAVICON_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "chrome/browser/cancelable_request.h" | 14 #include "chrome/browser/cancelable_request.h" |
15 #include "chrome/browser/favicon/favicon_service.h" | 15 #include "chrome/browser/favicon/favicon_service.h" |
16 #include "chrome/browser/favicon/favicon_tab_helper.h" | 16 #include "chrome/browser/favicon/favicon_tab_helper.h" |
17 #include "chrome/common/favicon_url.h" | 17 #include "chrome/common/favicon_url.h" |
18 #include "chrome/common/ref_counted_util.h" | 18 #include "chrome/common/ref_counted_util.h" |
19 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
20 #include "ui/gfx/favicon_size.h" | 20 #include "ui/gfx/favicon_size.h" |
21 | 21 |
22 class FaviconHandlerDelegate; | 22 class FaviconHandlerDelegate; |
23 class NavigationEntry; | |
24 class Profile; | 23 class Profile; |
25 class RefCountedMemory; | 24 class RefCountedMemory; |
26 class SkBitmap; | 25 class SkBitmap; |
27 class TabContents; | 26 class TabContents; |
28 | 27 |
29 namespace content { | 28 namespace content { |
30 class NavigationEntry; | 29 class NavigationEntry; |
31 } | 30 } |
32 | 31 |
33 namespace gfx { | 32 namespace gfx { |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // The Profile associated with this handler. | 264 // The Profile associated with this handler. |
266 Profile* profile_; | 265 Profile* profile_; |
267 | 266 |
268 // This handler's delegate. | 267 // This handler's delegate. |
269 FaviconHandlerDelegate* delegate_; // weak | 268 FaviconHandlerDelegate* delegate_; // weak |
270 | 269 |
271 DISALLOW_COPY_AND_ASSIGN(FaviconHandler); | 270 DISALLOW_COPY_AND_ASSIGN(FaviconHandler); |
272 }; | 271 }; |
273 | 272 |
274 #endif // CHROME_BROWSER_FAVICON_FAVICON_HANDLER_H_ | 273 #endif // CHROME_BROWSER_FAVICON_FAVICON_HANDLER_H_ |
OLD | NEW |