| 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 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 InstantServiceFactory::~InstantServiceFactory() { | 27 InstantServiceFactory::~InstantServiceFactory() { |
| 28 } | 28 } |
| 29 | 29 |
| 30 bool InstantServiceFactory::ServiceRedirectedInIncognito() const { | 30 bool InstantServiceFactory::ServiceRedirectedInIncognito() const { |
| 31 return true; | 31 return true; |
| 32 } | 32 } |
| 33 | 33 |
| 34 ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor( | 34 ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor( |
| 35 Profile* profile) const { | 35 Profile* profile) const { |
| 36 return new InstantService; | 36 return new InstantService(profile); |
| 37 } | 37 } |
| OLD | NEW |