Index: chrome/browser/search/instant_service.cc |
diff --git a/chrome/browser/search/instant_service.cc b/chrome/browser/search/instant_service.cc |
index 808a7d07b7d5f30bc432503e4f0e37e97f514954..db35dd1dde93270be835ef9abac6cd8852c7a72a 100644 |
--- a/chrome/browser/search/instant_service.cc |
+++ b/chrome/browser/search/instant_service.cc |
@@ -109,9 +109,14 @@ InstantService::InstantService(Profile* profile) |
content::URLDataSource::Add(profile_, new ThemeSource(profile_)); |
#endif // defined(ENABLE_THEMES) |
+ // TODO(aurimas) remove this #if once instant_service.cc is no longer compiled |
+ // on Android. |
+#if !defined(OS_ANDROID) |
content::URLDataSource::Add(profile_, new ThumbnailSource(profile_, false)); |
content::URLDataSource::Add(profile_, new ThumbnailSource(profile_, true)); |
content::URLDataSource::Add(profile_, new ThumbnailListSource(profile_)); |
+#endif // !defined(OS_ANDROID) |
+ |
content::URLDataSource::Add( |
profile_, new FaviconSource(profile_, FaviconSource::FAVICON)); |
content::URLDataSource::Add(profile_, new LocalNtpSource(profile_)); |