| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/password_manager/chrome_password_manager_client.h" | 5 #include "chrome/browser/password_manager/chrome_password_manager_client.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "chrome/browser/ui/passwords/passwords_client_ui_delegate.h" | 24 #include "chrome/browser/ui/passwords/passwords_client_ui_delegate.h" |
| 25 #include "chrome/common/channel_info.h" | 25 #include "chrome/common/channel_info.h" |
| 26 #include "chrome/common/chrome_switches.h" | 26 #include "chrome/common/chrome_switches.h" |
| 27 #include "chrome/common/features.h" | 27 #include "chrome/common/features.h" |
| 28 #include "chrome/common/url_constants.h" | 28 #include "chrome/common/url_constants.h" |
| 29 #include "components/autofill/content/browser/content_autofill_driver.h" | 29 #include "components/autofill/content/browser/content_autofill_driver.h" |
| 30 #include "components/autofill/content/browser/content_autofill_driver_factory.h" | 30 #include "components/autofill/content/browser/content_autofill_driver_factory.h" |
| 31 #include "components/autofill/content/common/autofill_messages.h" | 31 #include "components/autofill/content/common/autofill_messages.h" |
| 32 #include "components/autofill/core/browser/password_generator.h" | 32 #include "components/autofill/core/browser/password_generator.h" |
| 33 #include "components/autofill/core/common/password_form.h" | 33 #include "components/autofill/core/common/password_form.h" |
| 34 #include "components/browser_sync/browser/profile_sync_service.h" | 34 #include "components/browser_sync/profile_sync_service.h" |
| 35 #include "components/password_manager/content/browser/content_password_manager_d
river.h" | 35 #include "components/password_manager/content/browser/content_password_manager_d
river.h" |
| 36 #include "components/password_manager/content/browser/password_manager_internals
_service_factory.h" | 36 #include "components/password_manager/content/browser/password_manager_internals
_service_factory.h" |
| 37 #include "components/password_manager/core/browser/browser_save_password_progres
s_logger.h" | 37 #include "components/password_manager/core/browser/browser_save_password_progres
s_logger.h" |
| 38 #include "components/password_manager/core/browser/log_manager.h" | 38 #include "components/password_manager/core/browser/log_manager.h" |
| 39 #include "components/password_manager/core/browser/log_receiver.h" | 39 #include "components/password_manager/core/browser/log_receiver.h" |
| 40 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 40 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
| 41 #include "components/password_manager/core/browser/password_form_manager.h" | 41 #include "components/password_manager/core/browser/password_form_manager.h" |
| 42 #include "components/password_manager/core/browser/password_manager_internals_se
rvice.h" | 42 #include "components/password_manager/core/browser/password_manager_internals_se
rvice.h" |
| 43 #include "components/password_manager/core/browser/password_manager_metrics_util
.h" | 43 #include "components/password_manager/core/browser/password_manager_metrics_util
.h" |
| 44 #include "components/password_manager/core/browser/password_manager_settings_mig
ration_experiment.h" | 44 #include "components/password_manager/core/browser/password_manager_settings_mig
ration_experiment.h" |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 password_manager::mojom::CredentialManagerRequest request) { | 632 password_manager::mojom::CredentialManagerRequest request) { |
| 633 content::WebContents* web_contents = | 633 content::WebContents* web_contents = |
| 634 content::WebContents::FromRenderFrameHost(render_frame_host); | 634 content::WebContents::FromRenderFrameHost(render_frame_host); |
| 635 DCHECK(web_contents); | 635 DCHECK(web_contents); |
| 636 | 636 |
| 637 ChromePasswordManagerClient* instance = | 637 ChromePasswordManagerClient* instance = |
| 638 ChromePasswordManagerClient::FromWebContents(web_contents); | 638 ChromePasswordManagerClient::FromWebContents(web_contents); |
| 639 DCHECK(instance); | 639 DCHECK(instance); |
| 640 instance->credential_manager_impl_.BindRequest(std::move(request)); | 640 instance->credential_manager_impl_.BindRequest(std::move(request)); |
| 641 } | 641 } |
| OLD | NEW |