Commit 22a19dae authored by olivierrobin's avatar olivierrobin Committed by Commit bot

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

Revert of [ObjC ARC] Converts ios/chrome/browser/ui/autofill:autofill to ARC. (patchset #3 id:40001 of https://codereview.chromium.org/2569713003/ )

Reason for revert:
Breaks compilation of autofill_controller_unittest.mm

Original issue's description:
> [ObjC ARC] Converts ios/chrome/browser/ui/autofill:autofill to ARC.
>
> Automatically generated ARCMigrate commit
> Notable issues:None
> BUG=624363
> TEST=None
>
> Committed: https://crrev.com/01e99d0af3a84ae96857d34e096ff4f876e56c2a
> Cr-Commit-Position: refs/heads/master@{#438167}

TBR=noyau@chromium.org,stkhapugin@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=624363

Review-Url: https://codereview.chromium.org/2577443002
Cr-Commit-Position: refs/heads/master@{#438188}
parent bae4924a
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# 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_;
__weak id<AutofillClientIOSBridge> bridge_; id<AutofillClientIOSBridge> bridge_; // Weak
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,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#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"
...@@ -26,10 +27,6 @@ ...@@ -26,10 +27,6 @@
#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,10 +9,6 @@ ...@@ -9,10 +9,6 @@
#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