Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1307)

Side by Side Diff: chrome/browser/thumbnails/thumbnail_list_source.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/macros.h" 10 #include "base/macros.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 "components/history/core/browser/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 {
19 class RefCountedMemory;
20 }
21
22 namespace history { 18 namespace history {
23 class TopSites; 19 class TopSites;
24 } 20 }
25 21
26 namespace thumbnails { 22 namespace thumbnails {
27 class ThumbnailService; 23 class ThumbnailService;
28 } 24 }
29 25
30 // ThumbnailListSource renders a webpage to list all thumbnails stored in 26 // ThumbnailListSource renders a webpage to list all thumbnails stored in
31 // TopSites, along with all associated URLs. The thumbnail images are embedded 27 // TopSites, along with all associated URLs. The thumbnail images are embedded
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 scoped_refptr<history::TopSites> top_sites_; 59 scoped_refptr<history::TopSites> top_sites_;
64 60
65 // For callbacks may be run after destruction. 61 // For callbacks may be run after destruction.
66 base::WeakPtrFactory<ThumbnailListSource> weak_ptr_factory_; 62 base::WeakPtrFactory<ThumbnailListSource> weak_ptr_factory_;
67 63
68 DISALLOW_COPY_AND_ASSIGN(ThumbnailListSource); 64 DISALLOW_COPY_AND_ASSIGN(ThumbnailListSource);
69 }; 65 };
70 66
71 67
72 #endif // CHROME_BROWSER_THUMBNAILS_THUMBNAIL_LIST_SOURCE_H_ 68 #endif // CHROME_BROWSER_THUMBNAILS_THUMBNAIL_LIST_SOURCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/themes/theme_service.h ('k') | chrome/browser/translate/chrome_translate_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698