| 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_THUMBNAIL_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_DOM_UI_THUMBNAIL_SOURCE_H_ |
| 6 #define CHROME_BROWSER_DOM_UI_DOM_UI_THUMBNAIL_SOURCE_H_ | 6 #define CHROME_BROWSER_DOM_UI_DOM_UI_THUMBNAIL_SOURCE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> |
| 9 #include <vector> | 10 #include <vector> |
| 10 | 11 |
| 11 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 12 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 13 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" | 14 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" |
| 14 #include "chrome/browser/history/history.h" | 15 #include "chrome/browser/history/history.h" |
| 15 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
| 16 | 17 |
| 17 class Profile; | 18 class Profile; |
| 18 class ThumbnailStore; | 19 class ThumbnailStore; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // received that it is ready, then serve these requests. | 59 // received that it is ready, then serve these requests. |
| 59 std::vector<std::pair<std::string, int> > pending_requests_; | 60 std::vector<std::pair<std::string, int> > pending_requests_; |
| 60 | 61 |
| 61 // To register to be notified when the ThumbnailStore is ready. | 62 // To register to be notified when the ThumbnailStore is ready. |
| 62 NotificationRegistrar registrar_; | 63 NotificationRegistrar registrar_; |
| 63 | 64 |
| 64 DISALLOW_COPY_AND_ASSIGN(DOMUIThumbnailSource); | 65 DISALLOW_COPY_AND_ASSIGN(DOMUIThumbnailSource); |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 #endif // CHROME_BROWSER_DOM_UI_DOM_UI_THUMBNAIL_SOURCE_H_ | 68 #endif // CHROME_BROWSER_DOM_UI_DOM_UI_THUMBNAIL_SOURCE_H_ |
| OLD | NEW |