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

Side by Side Diff: components/suggestions/image_manager.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch 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
« no previous file with comments | « components/storage_monitor/udev_util_linux.h ('k') | components/sync/base/cryptographer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 COMPONENTS_SUGGESTIONS_IMAGE_MANAGER_H_ 5 #ifndef COMPONENTS_SUGGESTIONS_IMAGE_MANAGER_H_
6 #define COMPONENTS_SUGGESTIONS_IMAGE_MANAGER_H_ 6 #define COMPONENTS_SUGGESTIONS_IMAGE_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 14 matching lines...) Expand all
25 #include "url/gurl.h" 25 #include "url/gurl.h"
26 26
27 namespace gfx { 27 namespace gfx {
28 class Image; 28 class Image;
29 } 29 }
30 30
31 namespace image_fetcher { 31 namespace image_fetcher {
32 class ImageFetcher; 32 class ImageFetcher;
33 } 33 }
34 34
35 namespace net {
36 class URLRequestContextGetter;
37 }
38
39 namespace suggestions { 35 namespace suggestions {
40 36
41 class ImageData; 37 class ImageData;
42 class SuggestionsProfile; 38 class SuggestionsProfile;
43 39
44 // A class used to fetch server images asynchronously and manage the caching 40 // A class used to fetch server images asynchronously and manage the caching
45 // layer (both in memory and on disk). 41 // layer (both in memory and on disk).
46 class ImageManager : public image_fetcher::ImageFetcherDelegate { 42 class ImageManager : public image_fetcher::ImageFetcherDelegate {
47 public: 43 public:
48 typedef std::vector<ImageData> ImageDataVector; 44 typedef std::vector<ImageData> ImageDataVector;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 base::ThreadChecker thread_checker_; 155 base::ThreadChecker thread_checker_;
160 156
161 base::WeakPtrFactory<ImageManager> weak_ptr_factory_; 157 base::WeakPtrFactory<ImageManager> weak_ptr_factory_;
162 158
163 DISALLOW_COPY_AND_ASSIGN(ImageManager); 159 DISALLOW_COPY_AND_ASSIGN(ImageManager);
164 }; 160 };
165 161
166 } // namespace suggestions 162 } // namespace suggestions
167 163
168 #endif // COMPONENTS_SUGGESTIONS_IMAGE_MANAGER_H_ 164 #endif // COMPONENTS_SUGGESTIONS_IMAGE_MANAGER_H_
OLDNEW
« no previous file with comments | « components/storage_monitor/udev_util_linux.h ('k') | components/sync/base/cryptographer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698