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_UI_WEBUI_NTP_THUMBNAIL_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_NTP_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/basictypes.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "content/public/browser/url_data_source.h" | 12 #include "content/public/browser/url_data_source.h" |
13 | 13 |
14 class Profile; | 14 class Profile; |
15 | 15 |
16 namespace base { | 16 namespace base { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // by an external service rather than TopSites, so Chrome can learn about the | 55 // by an external service rather than TopSites, so Chrome can learn about the |
56 // URLs for which it should get thumbnails. Sources that capture thumbnails | 56 // URLs for which it should get thumbnails. Sources that capture thumbnails |
57 // are also be more lenient when matching thumbnail URLs by checking for | 57 // are also be more lenient when matching thumbnail URLs by checking for |
58 // existing thumbnails in the database that contain a URL matching the prefix | 58 // existing thumbnails in the database that contain a URL matching the prefix |
59 // of the requested URL. | 59 // of the requested URL. |
60 const bool capture_thumbnails_; | 60 const bool capture_thumbnails_; |
61 | 61 |
62 DISALLOW_COPY_AND_ASSIGN(ThumbnailSource); | 62 DISALLOW_COPY_AND_ASSIGN(ThumbnailSource); |
63 }; | 63 }; |
64 | 64 |
65 #endif // CHROME_BROWSER_UI_WEBUI_NTP_THUMBNAIL_SOURCE_H_ | 65 #endif // CHROME_BROWSER_SEARCH_THUMBNAIL_SOURCE_H_ |
OLD | NEW |