| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_THUMBNAIL_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_ |
| 6 #define CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_ | 6 #define CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "content/public/browser/url_data_source.h" | 14 #include "content/public/browser/url_data_source.h" |
| 15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 16 | 16 |
| 17 class Profile; | 17 class Profile; |
| 18 class SkBitmap; | |
| 19 | 18 |
| 20 namespace base { | 19 namespace base { |
| 21 class RefCountedMemory; | 20 class RefCountedMemory; |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace gfx { | 23 namespace gfx { |
| 25 class Image; | 24 class Image; |
| 26 } | 25 } |
| 27 | 26 |
| 28 namespace image_fetcher { | 27 namespace image_fetcher { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // existing thumbnails in the database that contain a URL matching the prefix | 84 // existing thumbnails in the database that contain a URL matching the prefix |
| 86 // of the requested URL. | 85 // of the requested URL. |
| 87 const bool capture_thumbnails_; | 86 const bool capture_thumbnails_; |
| 88 | 87 |
| 89 base::WeakPtrFactory<ThumbnailSource> weak_ptr_factory_; | 88 base::WeakPtrFactory<ThumbnailSource> weak_ptr_factory_; |
| 90 | 89 |
| 91 DISALLOW_COPY_AND_ASSIGN(ThumbnailSource); | 90 DISALLOW_COPY_AND_ASSIGN(ThumbnailSource); |
| 92 }; | 91 }; |
| 93 | 92 |
| 94 #endif // CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_ | 93 #endif // CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_ |
| OLD | NEW |