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

Side by Side Diff: components/autofill/content/renderer/autofill_agent.cc

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase Created 3 years, 12 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 unified diff | Download patch
OLDNEW
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/autofill_agent.h" 5 #include "components/autofill/content/renderer/autofill_agent.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <tuple> 9 #include <tuple>
10 10
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 } 772 }
773 773
774 void AutofillAgent::ajaxSucceeded() { 774 void AutofillAgent::ajaxSucceeded() {
775 OnSamePageNavigationCompleted(); 775 OnSamePageNavigationCompleted();
776 password_autofill_agent_->AJAXSucceeded(); 776 password_autofill_agent_->AJAXSucceeded();
777 } 777 }
778 778
779 const mojom::AutofillDriverPtr& AutofillAgent::GetAutofillDriver() { 779 const mojom::AutofillDriverPtr& AutofillAgent::GetAutofillDriver() {
780 if (!autofill_driver_) { 780 if (!autofill_driver_) {
781 render_frame()->GetRemoteInterfaces()->GetInterface( 781 render_frame()->GetRemoteInterfaces()->GetInterface(
782 mojo::GetProxy(&autofill_driver_)); 782 mojo::MakeRequest(&autofill_driver_));
783 } 783 }
784 784
785 return autofill_driver_; 785 return autofill_driver_;
786 } 786 }
787 787
788 const mojom::PasswordManagerDriverPtr& 788 const mojom::PasswordManagerDriverPtr&
789 AutofillAgent::GetPasswordManagerDriver() { 789 AutofillAgent::GetPasswordManagerDriver() {
790 DCHECK(password_autofill_agent_); 790 DCHECK(password_autofill_agent_);
791 return password_autofill_agent_->GetPasswordManagerDriver(); 791 return password_autofill_agent_->GetPasswordManagerDriver();
792 } 792 }
(...skipping 16 matching lines...) Expand all
809 void AutofillAgent::LegacyAutofillAgent::OnDestruct() { 809 void AutofillAgent::LegacyAutofillAgent::OnDestruct() {
810 // No-op. Don't delete |this|. 810 // No-op. Don't delete |this|.
811 } 811 }
812 812
813 void AutofillAgent::LegacyAutofillAgent::FocusChangeComplete() { 813 void AutofillAgent::LegacyAutofillAgent::FocusChangeComplete() {
814 if (agent_) 814 if (agent_)
815 agent_->FocusChangeComplete(); 815 agent_->FocusChangeComplete();
816 } 816 }
817 817
818 } // namespace autofill 818 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698