| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/instant/instant_service_factory.h" | 5 #include "chrome/browser/instant/instant_service_factory.h" |
| 6 | 6 |
| 7 #include "chrome/browser/instant/instant_service.h" | 7 #include "chrome/browser/instant/instant_service.h" |
| 8 #include "chrome/browser/profiles/profile_dependency_manager.h" | 8 #include "chrome/browser/profiles/profile_dependency_manager.h" |
| 9 | 9 |
| 10 // static | 10 // static |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 // No dependencies. | 29 // No dependencies. |
| 30 } | 30 } |
| 31 | 31 |
| 32 InstantServiceFactory::~InstantServiceFactory() { | 32 InstantServiceFactory::~InstantServiceFactory() { |
| 33 } | 33 } |
| 34 | 34 |
| 35 bool InstantServiceFactory::ServiceRedirectedInIncognito() const { | 35 bool InstantServiceFactory::ServiceRedirectedInIncognito() const { |
| 36 return true; | 36 return true; |
| 37 } | 37 } |
| 38 | 38 |
| 39 bool InstantServiceFactory::ServiceIsNULLWhileTesting() const { | |
| 40 return true; | |
| 41 } | |
| 42 | |
| 43 ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor( | 39 ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor( |
| 44 Profile* profile) const { | 40 Profile* profile) const { |
| 45 return BuildInstanceFor(profile); | 41 return BuildInstanceFor(profile); |
| 46 } | 42 } |
| OLD | NEW |