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

Unified Diff: chrome/browser/search_engines/template_url_service_factory.cc

Issue 7285014: [wip] Profile: Sketch of a creation system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Y U NO LIEK CONST, MAC? Created 9 years, 6 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/search_engines/template_url_service_factory.cc
diff --git a/chrome/browser/search_engines/template_url_service_factory.cc b/chrome/browser/search_engines/template_url_service_factory.cc
index e34416371a3cc1574b1f1db142ba2689e34d654e..ddbe5a5565df883e63bf092b556d0e9d9de8f114 100644
--- a/chrome/browser/search_engines/template_url_service_factory.cc
+++ b/chrome/browser/search_engines/template_url_service_factory.cc
@@ -36,6 +36,10 @@ bool TemplateURLServiceFactory::ServiceRedirectedInIncognito() {
return true;
}
+bool TemplateURLServiceFactory::ServiceIsNULLWhileTesting() {
+ return true;
+}
+
void TemplateURLServiceFactory::ProfileShutdown(Profile* profile) {
// We shutdown AND destroy the TemplateURLService during this pass.
// TemplateURLService schedules a task on the WebDataService from its

Powered by Google App Engine
This is Rietveld 408576698