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

Side by Side Diff: ios/chrome/browser/passwords/ios_chrome_password_manager_driver.mm

Issue 2933873002: [ObjC ARC] Converts ios/chrome/browser/passwords:passwords to ARC. (Closed)
Patch Set: fix names and nil assignments. Created 3 years, 6 months 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/passwords/ios_chrome_password_manager_driver.h" 5 #import "ios/chrome/browser/passwords/ios_chrome_password_manager_driver.h"
6 6
7 #include "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "components/autofill/core/common/password_form.h" 8 #include "components/autofill/core/common/password_form.h"
9 #include "components/autofill/core/common/password_form_fill_data.h" 9 #include "components/autofill/core/common/password_form_fill_data.h"
10 #include "components/password_manager/core/browser/password_generation_manager.h " 10 #include "components/password_manager/core/browser/password_generation_manager.h "
11 #include "components/password_manager/core/browser/password_manager.h" 11 #include "components/password_manager/core/browser/password_manager.h"
12 #import "ios/chrome/browser/passwords/password_generation_agent.h" 12 #import "ios/chrome/browser/passwords/password_generation_agent.h"
13 13
14 #if !defined(__has_feature) || !__has_feature(objc_arc)
15 #error "This file requires ARC support."
16 #endif
17
14 using password_manager::PasswordAutofillManager; 18 using password_manager::PasswordAutofillManager;
15 using password_manager::PasswordGenerationManager; 19 using password_manager::PasswordGenerationManager;
16 using password_manager::PasswordManager; 20 using password_manager::PasswordManager;
17 21
18 IOSChromePasswordManagerDriver::IOSChromePasswordManagerDriver( 22 IOSChromePasswordManagerDriver::IOSChromePasswordManagerDriver(
19 id<PasswordManagerDriverDelegate> delegate) 23 id<PasswordManagerDriverDelegate> delegate)
20 : delegate_(delegate) {} 24 : delegate_(delegate) {}
21 25
22 IOSChromePasswordManagerDriver::~IOSChromePasswordManagerDriver() = default; 26 IOSChromePasswordManagerDriver::~IOSChromePasswordManagerDriver() = default;
23 27
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 89
86 autofill::AutofillDriver* IOSChromePasswordManagerDriver::GetAutofillDriver() { 90 autofill::AutofillDriver* IOSChromePasswordManagerDriver::GetAutofillDriver() {
87 NOTIMPLEMENTED(); 91 NOTIMPLEMENTED();
88 return nullptr; 92 return nullptr;
89 } 93 }
90 94
91 bool IOSChromePasswordManagerDriver::IsMainFrame() const { 95 bool IOSChromePasswordManagerDriver::IsMainFrame() const {
92 // On IOS only processing of password forms in main frame is implemented. 96 // On IOS only processing of password forms in main frame is implemented.
93 return true; 97 return true;
94 } 98 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698