Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: ios/chrome/browser/ui/autofill/autofill_client_ios.mm

Issue 2543683002: Revert of [ObjC ARC] Converts ios/chrome/browser/ui/autofill:autofill to ARC.Automatically generated ARCMig… (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
11 #include "components/autofill/core/browser/autofill_credit_card_filling_infobar_ delegate_mobile.h" 11 #include "components/autofill/core/browser/autofill_credit_card_filling_infobar_ delegate_mobile.h"
12 #include "components/autofill/core/browser/autofill_save_card_infobar_delegate_m obile.h" 12 #include "components/autofill/core/browser/autofill_save_card_infobar_delegate_m obile.h"
13 #include "components/autofill/core/browser/autofill_save_card_infobar_mobile.h" 13 #include "components/autofill/core/browser/autofill_save_card_infobar_mobile.h"
14 #include "components/autofill/core/browser/ui/card_unmask_prompt_view.h" 14 #include "components/autofill/core/browser/ui/card_unmask_prompt_view.h"
15 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 15 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
16 #include "components/autofill/core/common/autofill_pref_names.h" 16 #include "components/autofill/core/common/autofill_pref_names.h"
17 #include "components/infobars/core/infobar.h" 17 #include "components/infobars/core/infobar.h"
18 #include "components/infobars/core/infobar_manager.h" 18 #include "components/infobars/core/infobar_manager.h"
19 #include "components/keyed_service/core/service_access_type.h" 19 #include "components/keyed_service/core/service_access_type.h"
20 #include "components/password_manager/core/browser/password_generation_manager.h " 20 #include "components/password_manager/core/browser/password_generation_manager.h "
21 #include "components/prefs/pref_service.h" 21 #include "components/prefs/pref_service.h"
22 #include "google_apis/gaia/identity_provider.h" 22 #include "google_apis/gaia/identity_provider.h"
23 #include "ios/chrome/browser/application_context.h" 23 #include "ios/chrome/browser/application_context.h"
24 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h" 24 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h"
25 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" 25 #include "ios/chrome/browser/browser_state/chrome_browser_state.h"
26 #include "ios/chrome/browser/infobars/infobar_utils.h" 26 #include "ios/chrome/browser/infobars/infobar_utils.h"
27 #include "ios/chrome/browser/web_data_service_factory.h" 27 #include "ios/chrome/browser/web_data_service_factory.h"
28 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" 28 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
29 29
30 #if !defined(__has_feature) || !__has_feature(objc_arc)
31 #error "This file requires ARC support."
32 #endif
33
34 namespace autofill { 30 namespace autofill {
35 31
36 AutofillClientIOS::AutofillClientIOS( 32 AutofillClientIOS::AutofillClientIOS(
37 ios::ChromeBrowserState* browser_state, 33 ios::ChromeBrowserState* browser_state,
38 infobars::InfoBarManager* infobar_manager, 34 infobars::InfoBarManager* infobar_manager,
39 id<AutofillClientIOSBridge> bridge, 35 id<AutofillClientIOSBridge> bridge,
40 password_manager::PasswordGenerationManager* password_generation_manager, 36 password_manager::PasswordGenerationManager* password_generation_manager,
41 std::unique_ptr<IdentityProvider> identity_provider) 37 std::unique_ptr<IdentityProvider> identity_provider)
42 : browser_state_(browser_state), 38 : browser_state_(browser_state),
43 infobar_manager_(infobar_manager), 39 infobar_manager_(infobar_manager),
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 191
196 bool AutofillClientIOS::ShouldShowSigninPromo() { 192 bool AutofillClientIOS::ShouldShowSigninPromo() {
197 return false; 193 return false;
198 } 194 }
199 195
200 void AutofillClientIOS::StartSigninFlow() { 196 void AutofillClientIOS::StartSigninFlow() {
201 NOTIMPLEMENTED(); 197 NOTIMPLEMENTED();
202 } 198 }
203 199
204 } // namespace autofill 200 } // namespace autofill
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/autofill/BUILD.gn ('k') | ios/chrome/browser/ui/autofill/autofill_save_card_infobar.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698