| 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 <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <utility> | 12 #include <utility> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #import "base/ios/weak_nsobject.h" | 15 #import "base/ios/weak_nsobject.h" |
| 16 #include "base/json/json_reader.h" | 16 #include "base/json/json_reader.h" |
| 17 #include "base/json/json_writer.h" | 17 #include "base/json/json_writer.h" |
| 18 #include "base/mac/foundation_util.h" | 18 #include "base/mac/foundation_util.h" |
| 19 #include "base/mac/scoped_nsobject.h" | 19 #include "base/mac/scoped_nsobject.h" |
| 20 #include "base/memory/ptr_util.h" | 20 #include "base/memory/ptr_util.h" |
| 21 #include "base/strings/string16.h" | 21 #include "base/strings/string16.h" |
| 22 #include "base/strings/sys_string_conversions.h" | 22 #include "base/strings/sys_string_conversions.h" |
| 23 #include "base/strings/utf_string_conversions.h" | 23 #include "base/strings/utf_string_conversions.h" |
| 24 #include "components/autofill/core/common/password_form.h" | 24 #include "components/autofill/core/common/password_form.h" |
| 25 #include "components/autofill/core/common/password_form_fill_data.h" | 25 #include "components/autofill/core/common/password_form_fill_data.h" |
| 26 #include "components/browser_sync/browser/profile_sync_service.h" | 26 #include "components/browser_sync/profile_sync_service.h" |
| 27 #include "components/infobars/core/infobar_manager.h" | 27 #include "components/infobars/core/infobar_manager.h" |
| 28 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 28 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
| 29 #include "components/password_manager/core/browser/password_generation_manager.h
" | 29 #include "components/password_manager/core/browser/password_generation_manager.h
" |
| 30 #include "components/password_manager/core/browser/password_manager.h" | 30 #include "components/password_manager/core/browser/password_manager.h" |
| 31 #include "components/password_manager/core/browser/password_manager_client.h" | 31 #include "components/password_manager/core/browser/password_manager_client.h" |
| 32 #include "components/password_manager/core/browser/password_manager_driver.h" | 32 #include "components/password_manager/core/browser/password_manager_driver.h" |
| 33 #include "components/sync/driver/sync_service.h" | 33 #include "components/sync/driver/sync_service.h" |
| 34 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" | 34 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" |
| 35 #include "ios/chrome/browser/experimental_flags.h" | 35 #include "ios/chrome/browser/experimental_flags.h" |
| 36 #include "ios/chrome/browser/infobars/infobar_manager_impl.h" | 36 #include "ios/chrome/browser/infobars/infobar_manager_impl.h" |
| (...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 break; | 863 break; |
| 864 | 864 |
| 865 case PasswordInfoBarType::UPDATE: | 865 case PasswordInfoBarType::UPDATE: |
| 866 IOSChromeUpdatePasswordInfoBarDelegate::Create( | 866 IOSChromeUpdatePasswordInfoBarDelegate::Create( |
| 867 isSmartLockBrandingEnabled, infoBarManager, std::move(form)); | 867 isSmartLockBrandingEnabled, infoBarManager, std::move(form)); |
| 868 break; | 868 break; |
| 869 } | 869 } |
| 870 } | 870 } |
| 871 | 871 |
| 872 @end | 872 @end |
| OLD | NEW |