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_SEARCH_SUGGESTIONS_THUMBNAIL_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_SUGGESTIONS_THUMBNAIL_MANAGER_H_ |
6 #define CHROME_BROWSER_SEARCH_SUGGESTIONS_THUMBNAIL_MANAGER_H_ | 6 #define CHROME_BROWSER_SEARCH_SUGGESTIONS_THUMBNAIL_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "chrome/browser/bitmap_fetcher.h" | 14 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h" |
15 #include "ui/gfx/image/image_skia.h" | 15 #include "ui/gfx/image/image_skia.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 | 17 |
18 class Profile; | 18 class Profile; |
19 | 19 |
20 namespace suggestions { | 20 namespace suggestions { |
21 | 21 |
22 class SuggestionsProfile; | 22 class SuggestionsProfile; |
23 | 23 |
24 // A class used to fetch server thumbnails asynchronously. | 24 // A class used to fetch server thumbnails asynchronously. |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 ThumbnailRequestMap pending_requests_; | 92 ThumbnailRequestMap pending_requests_; |
93 | 93 |
94 net::URLRequestContextGetter* url_request_context_; | 94 net::URLRequestContextGetter* url_request_context_; |
95 | 95 |
96 DISALLOW_COPY_AND_ASSIGN(ThumbnailManager); | 96 DISALLOW_COPY_AND_ASSIGN(ThumbnailManager); |
97 }; | 97 }; |
98 | 98 |
99 } // namespace suggestions | 99 } // namespace suggestions |
100 | 100 |
101 #endif // CHROME_BROWSER_SEARCH_SUGGESTIONS_THUMBNAIL_MANAGER_H_ | 101 #endif // CHROME_BROWSER_SEARCH_SUGGESTIONS_THUMBNAIL_MANAGER_H_ |
OLD | NEW |