Commit 01e99d0a authored by stkhapugin's avatar stkhapugin Committed by Commit bot

[ObjC ARC] Converts ios/chrome/browser/ui/autofill:autofill to ARC.

Automatically generated ARCMigrate commit
Notable issues:None
BUG=624363
TEST=None

Review-Url: https://codereview.chromium.org/2569713003
Cr-Commit-Position: refs/heads/master@{#438167}
parent e3e722f6
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# found in the LICENSE file. # found in the LICENSE file.
source_set("autofill") { source_set("autofill") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [ sources = [
"autofill_client_ios.h", "autofill_client_ios.h",
"autofill_client_ios.mm", "autofill_client_ios.mm",
......
...@@ -96,7 +96,7 @@ class AutofillClientIOS : public AutofillClient { ...@@ -96,7 +96,7 @@ class AutofillClientIOS : public AutofillClient {
private: private:
ios::ChromeBrowserState* browser_state_; ios::ChromeBrowserState* browser_state_;
infobars::InfoBarManager* infobar_manager_; infobars::InfoBarManager* infobar_manager_;
id<AutofillClientIOSBridge> bridge_; // Weak __weak id<AutofillClientIOSBridge> bridge_;
password_manager::PasswordGenerationManager* password_generation_manager_; password_manager::PasswordGenerationManager* password_generation_manager_;
std::unique_ptr<IdentityProvider> identity_provider_; std::unique_ptr<IdentityProvider> identity_provider_;
CardUnmaskPromptControllerImpl unmask_controller_; CardUnmaskPromptControllerImpl unmask_controller_;
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include <utility> #include <utility>
#include "base/bind.h"
#include "base/memory/ptr_util.h" #include "base/memory/ptr_util.h"
#include "components/autofill/core/browser/autofill_credit_card_filling_infobar_delegate_mobile.h" #include "components/autofill/core/browser/autofill_credit_card_filling_infobar_delegate_mobile.h"
#include "components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.h" #include "components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.h"
...@@ -27,6 +26,10 @@ ...@@ -27,6 +26,10 @@
#include "ios/chrome/browser/web_data_service_factory.h" #include "ios/chrome/browser/web_data_service_factory.h"
#include "ios/public/provider/chrome/browser/chrome_browser_provider.h" #include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
namespace autofill { namespace autofill {
AutofillClientIOS::AutofillClientIOS( AutofillClientIOS::AutofillClientIOS(
......
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
#include "components/infobars/core/infobar.h" #include "components/infobars/core/infobar.h"
#include "ios/chrome/browser/infobars/infobar_utils.h" #include "ios/chrome/browser/infobars/infobar_utils.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
namespace autofill { namespace autofill {
std::unique_ptr<infobars::InfoBar> CreateSaveCardInfoBarMobile( std::unique_ptr<infobars::InfoBar> CreateSaveCardInfoBarMobile(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment