| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_DOM_UI_DOM_UI_FAVICON_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_DOM_UI_FAVICON_SOURCE_H_ |
| 6 #define CHROME_BROWSER_DOM_UI_DOM_UI_FAVICON_SOURCE_H_ | 6 #define CHROME_BROWSER_DOM_UI_DOM_UI_FAVICON_SOURCE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 scoped_refptr<RefCountedBytes> data, | 38 scoped_refptr<RefCountedBytes> data, |
| 39 bool expired, | 39 bool expired, |
| 40 GURL url); | 40 GURL url); |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 Profile* profile_; | 43 Profile* profile_; |
| 44 CancelableRequestConsumerT<int, 0> cancelable_consumer_; | 44 CancelableRequestConsumerT<int, 0> cancelable_consumer_; |
| 45 | 45 |
| 46 // Raw PNG representation of the favicon to show when the favicon | 46 // Raw PNG representation of the favicon to show when the favicon |
| 47 // database doesn't have a favicon for a webpage. | 47 // database doesn't have a favicon for a webpage. |
| 48 scoped_refptr<RefCountedBytes> default_favicon_; | 48 scoped_refptr<RefCountedMemory> default_favicon_; |
| 49 | 49 |
| 50 DISALLOW_COPY_AND_ASSIGN(DOMUIFavIconSource); | 50 DISALLOW_COPY_AND_ASSIGN(DOMUIFavIconSource); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 #endif // CHROME_BROWSER_DOM_UI_DOM_UI_FAVICON_SOURCE_H_ | 53 #endif // CHROME_BROWSER_DOM_UI_DOM_UI_FAVICON_SOURCE_H_ |
| OLD | NEW |