Index: chrome/browser/extensions/component_loader.cc |
diff --git a/chrome/browser/extensions/component_loader.cc b/chrome/browser/extensions/component_loader.cc |
index ddccee92826e2dca50dd54d3101f874480fca998..0de58ca613ae04e19606128fb869f0024c92ae32 100644 |
--- a/chrome/browser/extensions/component_loader.cc |
+++ b/chrome/browser/extensions/component_loader.cc |
@@ -415,6 +415,12 @@ void ComponentLoader::AddDefaultComponentExtensionsWithBackgroundPages( |
} |
#endif |
+#if defined(ENABLE_GOOGLE_NOW) |
+ if (CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableGoogleNowIntegration)) { |
+ Add(IDR_GOOGLE_NOW_MANIFEST, FilePath(FILE_PATH_LITERAL("google_now"))); |
+ } |
+#endif |
} |
void ComponentLoader::UnloadComponent(ComponentExtensionInfo* component) { |