Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2485)

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 256763004: Remove WebUI NTP on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ted's nit Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 4ef84138f36907c2f7e5039dfda2d96aec26c886..e1797f17d35ed06e9b5db16a424c8e64ef48d6ee 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -1021,7 +1021,6 @@ void ExtensionService::NotifyExtensionLoaded(const Extension* extension) {
ThemeSource* theme_source = new ThemeSource(profile_);
content::URLDataSource::Add(profile_, theme_source);
}
-#endif
// Same for chrome://thumb/ resources.
if (extensions::PermissionsData::HasHostPermission(
@@ -1029,6 +1028,7 @@ void ExtensionService::NotifyExtensionLoaded(const Extension* extension) {
ThumbnailSource* thumbnail_source = new ThumbnailSource(profile_, false);
content::URLDataSource::Add(profile_, thumbnail_source);
}
+#endif
}
void ExtensionService::NotifyExtensionUnloaded(

Powered by Google App Engine
This is Rietveld 408576698