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

Unified Diff: components/autofill/content/browser/content_autofill_driver.cc

Issue 2274783002: Revert of [Autofill] Migrate ContentPasswordManagerDriver<-->Password{Autofill,Generation}Agent IPCs to mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/content/browser/content_autofill_driver.cc
diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/components/autofill/content/browser/content_autofill_driver.cc
index 2821197efa4ea6a442c5a617b19d0470a49f5439..3f4ce7928c9ad4461bef10694c7efe41504344e5 100644
--- a/components/autofill/content/browser/content_autofill_driver.cc
+++ b/components/autofill/content/browser/content_autofill_driver.cc
@@ -9,6 +9,7 @@
#include "base/command_line.h"
#include "base/threading/sequenced_worker_pool.h"
#include "components/autofill/content/browser/content_autofill_driver_factory.h"
+#include "components/autofill/content/common/autofill_messages.h"
#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/autofill_external_delegate.h"
#include "components/autofill/core/browser/autofill_manager.h"
@@ -253,12 +254,12 @@
const mojom::AutofillAgentPtr& ContentAutofillDriver::GetAutofillAgent() {
// Here is a lazy binding, and will not reconnect after connection error.
- if (!autofill_agent_) {
+ if (!mojo_autofill_agent_) {
render_frame_host_->GetRemoteInterfaces()->GetInterface(
- mojo::GetProxy(&autofill_agent_));
+ mojo::GetProxy(&mojo_autofill_agent_));
}
- return autofill_agent_;
+ return mojo_autofill_agent_;
}
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698