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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.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 "content/public/browser/url_data_source.h" | 13 #include "content/public/browser/url_data_source.h" |
14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
15 | 15 |
16 class Profile; | 16 class Profile; |
17 class SkBitmap; | 17 class SkBitmap; |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class RefCountedMemory; | 20 class RefCountedMemory; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // existing thumbnails in the database that contain a URL matching the prefix | 81 // existing thumbnails in the database that contain a URL matching the prefix |
82 // of the requested URL. | 82 // of the requested URL. |
83 const bool capture_thumbnails_; | 83 const bool capture_thumbnails_; |
84 | 84 |
85 base::WeakPtrFactory<ThumbnailSource> weak_ptr_factory_; | 85 base::WeakPtrFactory<ThumbnailSource> weak_ptr_factory_; |
86 | 86 |
87 DISALLOW_COPY_AND_ASSIGN(ThumbnailSource); | 87 DISALLOW_COPY_AND_ASSIGN(ThumbnailSource); |
88 }; | 88 }; |
89 | 89 |
90 #endif // CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_ | 90 #endif // CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_ |
OLD | NEW |