| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 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(crbug.com/535784): Implement this when adding credit card upload. |
| 60 syncer::SyncService* AutofillClientIOS::GetSyncService() { | 60 syncer::SyncService* AutofillClientIOS::GetSyncService() { |
| 61 NOTIMPLEMENTED(); | |
| 62 return nullptr; | 61 return nullptr; |
| 63 } | 62 } |
| 64 | 63 |
| 65 IdentityProvider* AutofillClientIOS::GetIdentityProvider() { | 64 IdentityProvider* AutofillClientIOS::GetIdentityProvider() { |
| 66 return identity_provider_.get(); | 65 return identity_provider_.get(); |
| 67 } | 66 } |
| 68 | 67 |
| 69 rappor::RapporService* AutofillClientIOS::GetRapporService() { | 68 rappor::RapporService* AutofillClientIOS::GetRapporService() { |
| 70 return GetApplicationContext()->GetRapporService(); | 69 return GetApplicationContext()->GetRapporService(); |
| 71 } | 70 } |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 | 191 |
| 193 bool AutofillClientIOS::ShouldShowSigninPromo() { | 192 bool AutofillClientIOS::ShouldShowSigninPromo() { |
| 194 return false; | 193 return false; |
| 195 } | 194 } |
| 196 | 195 |
| 197 void AutofillClientIOS::StartSigninFlow() { | 196 void AutofillClientIOS::StartSigninFlow() { |
| 198 NOTIMPLEMENTED(); | 197 NOTIMPLEMENTED(); |
| 199 } | 198 } |
| 200 | 199 |
| 201 } // namespace autofill | 200 } // namespace autofill |
| OLD | NEW |