| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_THUMBNAILS_THUMBNAIL_LIST_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_THUMBNAILS_THUMBNAIL_LIST_SOURCE_H_ |
| 6 #define CHROME_BROWSER_THUMBNAILS_THUMBNAIL_LIST_SOURCE_H_ | 6 #define CHROME_BROWSER_THUMBNAILS_THUMBNAIL_LIST_SOURCE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "chrome/browser/history/history_types.h" | 13 #include "components/history/core/browser/history_types.h" |
| 14 #include "content/public/browser/url_data_source.h" | 14 #include "content/public/browser/url_data_source.h" |
| 15 | 15 |
| 16 class Profile; | 16 class Profile; |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 class RefCountedMemory; | 19 class RefCountedMemory; |
| 20 } | 20 } |
| 21 | 21 |
| 22 namespace thumbnails { | 22 namespace thumbnails { |
| 23 class ThumbnailService; | 23 class ThumbnailService; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 Profile* const profile_; | 59 Profile* const profile_; |
| 60 | 60 |
| 61 // For callbacks may be run after destruction. | 61 // For callbacks may be run after destruction. |
| 62 base::WeakPtrFactory<ThumbnailListSource> weak_ptr_factory_; | 62 base::WeakPtrFactory<ThumbnailListSource> weak_ptr_factory_; |
| 63 | 63 |
| 64 DISALLOW_COPY_AND_ASSIGN(ThumbnailListSource); | 64 DISALLOW_COPY_AND_ASSIGN(ThumbnailListSource); |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 | 67 |
| 68 #endif // CHROME_BROWSER_THUMBNAILS_THUMBNAIL_LIST_SOURCE_H_ | 68 #endif // CHROME_BROWSER_THUMBNAILS_THUMBNAIL_LIST_SOURCE_H_ |
| OLD | NEW |