OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/autofill/personal_data_manager_factory.h" | 5 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 PersonalDataManagerFactory::~PersonalDataManagerFactory() { | 75 PersonalDataManagerFactory::~PersonalDataManagerFactory() { |
76 } | 76 } |
77 | 77 |
78 ProfileKeyedService* PersonalDataManagerFactory::BuildServiceInstanceFor( | 78 ProfileKeyedService* PersonalDataManagerFactory::BuildServiceInstanceFor( |
79 Profile* profile) const { | 79 Profile* profile) const { |
80 PersonalDataManagerService* service = | 80 PersonalDataManagerService* service = |
81 new PersonalDataManagerServiceImpl(profile); | 81 new PersonalDataManagerServiceImpl(profile); |
82 return service; | 82 return service; |
83 } | 83 } |
84 | 84 |
| 85 bool PersonalDataManagerFactory::ServiceHasOwnInstanceInIncognito() const { |
| 86 return true; |
| 87 } |
| 88 |
85 } // namespace autofill | 89 } // namespace autofill |
OLD | NEW |