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

Unified Diff: chrome/browser/instant/instant_service_factory.cc

Issue 11896113: Add chrome-search: access from Instant overlay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Charlie's comments. Created 7 years, 10 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/instant/instant_service_factory.cc
diff --git a/chrome/browser/instant/instant_service_factory.cc b/chrome/browser/instant/instant_service_factory.cc
index f24cdf582187ad4faecca1f73b4856cda4392735..766ba51d20b586bfea48ba5c1faac5f1db09633e 100644
--- a/chrome/browser/instant/instant_service_factory.cc
+++ b/chrome/browser/instant/instant_service_factory.cc
@@ -31,7 +31,11 @@ bool InstantServiceFactory::ServiceRedirectedInIncognito() const {
return true;
}
+bool InstantServiceFactory::ServiceIsNULLWhileTesting() const {
+ return false;
+}
+
ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor(
Profile* profile) const {
- return new InstantService;
+ return new InstantService(profile);
}

Powered by Google App Engine
This is Rietveld 408576698