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 #import "ios/chrome/browser/ui/autofill/autofill_client_ios.h" | 5 #import "ios/chrome/browser/ui/autofill/autofill_client_ios.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 PersonalDataManager* AutofillClientIOS::GetPersonalDataManager() { | 50 PersonalDataManager* AutofillClientIOS::GetPersonalDataManager() { |
51 return autofill::PersonalDataManagerFactory::GetForBrowserState( | 51 return autofill::PersonalDataManagerFactory::GetForBrowserState( |
52 browser_state_->GetOriginalChromeBrowserState()); | 52 browser_state_->GetOriginalChromeBrowserState()); |
53 } | 53 } |
54 | 54 |
55 PrefService* AutofillClientIOS::GetPrefs() { | 55 PrefService* AutofillClientIOS::GetPrefs() { |
56 return browser_state_->GetPrefs(); | 56 return browser_state_->GetPrefs(); |
57 } | 57 } |
58 | 58 |
59 // TODO(jdonnelly): Implement this when adding credit card upload. | 59 // TODO(jdonnelly): Implement this when adding credit card upload. |
60 sync_driver::SyncService* AutofillClientIOS::GetSyncService() { | 60 syncer::SyncService* AutofillClientIOS::GetSyncService() { |
61 NOTIMPLEMENTED(); | 61 NOTIMPLEMENTED(); |
62 return nullptr; | 62 return nullptr; |
63 } | 63 } |
64 | 64 |
65 IdentityProvider* AutofillClientIOS::GetIdentityProvider() { | 65 IdentityProvider* AutofillClientIOS::GetIdentityProvider() { |
66 return identity_provider_.get(); | 66 return identity_provider_.get(); |
67 } | 67 } |
68 | 68 |
69 rappor::RapporService* AutofillClientIOS::GetRapporService() { | 69 rappor::RapporService* AutofillClientIOS::GetRapporService() { |
70 return GetApplicationContext()->GetRapporService(); | 70 return GetApplicationContext()->GetRapporService(); |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 192 |
193 bool AutofillClientIOS::ShouldShowSigninPromo() { | 193 bool AutofillClientIOS::ShouldShowSigninPromo() { |
194 return false; | 194 return false; |
195 } | 195 } |
196 | 196 |
197 void AutofillClientIOS::StartSigninFlow() { | 197 void AutofillClientIOS::StartSigninFlow() { |
198 NOTIMPLEMENTED(); | 198 NOTIMPLEMENTED(); |
199 } | 199 } |
200 | 200 |
201 } // namespace autofill | 201 } // namespace autofill |
OLD | NEW |