| OLD | NEW | 
|---|
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/password_controller.h" | 5 #import "ios/chrome/browser/passwords/password_controller.h" | 
| 6 | 6 | 
| 7 #include <stddef.h> | 7 #include <stddef.h> | 
| 8 | 8 | 
| 9 #include <algorithm> | 9 #include <algorithm> | 
| 10 #include <memory> | 10 #include <memory> | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 22 #include "base/strings/utf_string_conversions.h" | 22 #include "base/strings/utf_string_conversions.h" | 
| 23 #include "components/autofill/core/common/password_form.h" | 23 #include "components/autofill/core/common/password_form.h" | 
| 24 #include "components/autofill/core/common/password_form_fill_data.h" | 24 #include "components/autofill/core/common/password_form_fill_data.h" | 
| 25 #include "components/browser_sync/browser/profile_sync_service.h" | 25 #include "components/browser_sync/browser/profile_sync_service.h" | 
| 26 #include "components/infobars/core/infobar_manager.h" | 26 #include "components/infobars/core/infobar_manager.h" | 
| 27 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 27 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 
| 28 #include "components/password_manager/core/browser/password_generation_manager.h
     " | 28 #include "components/password_manager/core/browser/password_generation_manager.h
     " | 
| 29 #include "components/password_manager/core/browser/password_manager.h" | 29 #include "components/password_manager/core/browser/password_manager.h" | 
| 30 #include "components/password_manager/core/browser/password_manager_client.h" | 30 #include "components/password_manager/core/browser/password_manager_client.h" | 
| 31 #include "components/password_manager/core/browser/password_manager_driver.h" | 31 #include "components/password_manager/core/browser/password_manager_driver.h" | 
| 32 #include "components/sync_driver/sync_service.h" | 32 #include "components/sync/driver/sync_service.h" | 
| 33 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" | 33 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" | 
| 34 #include "ios/chrome/browser/experimental_flags.h" | 34 #include "ios/chrome/browser/experimental_flags.h" | 
| 35 #include "ios/chrome/browser/infobars/infobar_manager_impl.h" | 35 #include "ios/chrome/browser/infobars/infobar_manager_impl.h" | 
| 36 #import "ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.
     h" | 36 #import "ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.
     h" | 
| 37 #import "ios/chrome/browser/passwords/ios_chrome_update_password_infobar_delegat
     e.h" | 37 #import "ios/chrome/browser/passwords/ios_chrome_update_password_infobar_delegat
     e.h" | 
| 38 #import "ios/chrome/browser/passwords/js_password_manager.h" | 38 #import "ios/chrome/browser/passwords/js_password_manager.h" | 
| 39 #import "ios/chrome/browser/passwords/password_generation_agent.h" | 39 #import "ios/chrome/browser/passwords/password_generation_agent.h" | 
| 40 #include "ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.h" | 40 #include "ios/chrome/browser/sync/ios_chrome_profile_sync_service_factory.h" | 
| 41 #include "ios/web/public/url_scheme_util.h" | 41 #include "ios/web/public/url_scheme_util.h" | 
| 42 #import "ios/web/public/web_state/js/crw_js_injection_receiver.h" | 42 #import "ios/web/public/web_state/js/crw_js_injection_receiver.h" | 
| (...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 864       break; | 864       break; | 
| 865 | 865 | 
| 866     case PasswordInfoBarType::UPDATE: | 866     case PasswordInfoBarType::UPDATE: | 
| 867       IOSChromeUpdatePasswordInfoBarDelegate::Create( | 867       IOSChromeUpdatePasswordInfoBarDelegate::Create( | 
| 868           isSmartLockBrandingEnabled, infoBarManager, std::move(form)); | 868           isSmartLockBrandingEnabled, infoBarManager, std::move(form)); | 
| 869       break; | 869       break; | 
| 870   } | 870   } | 
| 871 } | 871 } | 
| 872 | 872 | 
| 873 @end | 873 @end | 
| OLD | NEW | 
|---|