| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "components/autofill/content/renderer/password_autofill_agent.h" | 5 #include "components/autofill/content/renderer/password_autofill_agent.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 1483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1494 | 1494 |
| 1495 const mojom::AutofillDriverPtr& PasswordAutofillAgent::GetAutofillDriver() { | 1495 const mojom::AutofillDriverPtr& PasswordAutofillAgent::GetAutofillDriver() { |
| 1496 DCHECK(autofill_agent_); | 1496 DCHECK(autofill_agent_); |
| 1497 return autofill_agent_->GetAutofillDriver(); | 1497 return autofill_agent_->GetAutofillDriver(); |
| 1498 } | 1498 } |
| 1499 | 1499 |
| 1500 const mojom::PasswordManagerDriverPtr& | 1500 const mojom::PasswordManagerDriverPtr& |
| 1501 PasswordAutofillAgent::GetPasswordManagerDriver() { | 1501 PasswordAutofillAgent::GetPasswordManagerDriver() { |
| 1502 if (!password_manager_driver_) { | 1502 if (!password_manager_driver_) { |
| 1503 render_frame()->GetRemoteInterfaces()->GetInterface( | 1503 render_frame()->GetRemoteInterfaces()->GetInterface( |
| 1504 mojo::GetProxy(&password_manager_driver_)); | 1504 mojo::MakeRequest(&password_manager_driver_)); |
| 1505 } | 1505 } |
| 1506 | 1506 |
| 1507 return password_manager_driver_; | 1507 return password_manager_driver_; |
| 1508 } | 1508 } |
| 1509 | 1509 |
| 1510 } // namespace autofill | 1510 } // namespace autofill |
| OLD | NEW |