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

Side by Side Diff: components/autofill/content/browser/content_autofill_driver.cc

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase Created 4 years 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 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 "components/autofill/content/browser/content_autofill_driver.h" 5 #include "components/autofill/content/browser/content_autofill_driver.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/threading/sequenced_worker_pool.h" 10 #include "base/threading/sequenced_worker_pool.h"
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 } 253 }
254 254
255 void ContentAutofillDriver::NotifyFirstUserGestureObservedInTab() { 255 void ContentAutofillDriver::NotifyFirstUserGestureObservedInTab() {
256 GetAutofillAgent()->FirstUserGestureObservedInTab(); 256 GetAutofillAgent()->FirstUserGestureObservedInTab();
257 } 257 }
258 258
259 const mojom::AutofillAgentPtr& ContentAutofillDriver::GetAutofillAgent() { 259 const mojom::AutofillAgentPtr& ContentAutofillDriver::GetAutofillAgent() {
260 // Here is a lazy binding, and will not reconnect after connection error. 260 // Here is a lazy binding, and will not reconnect after connection error.
261 if (!autofill_agent_) { 261 if (!autofill_agent_) {
262 render_frame_host_->GetRemoteInterfaces()->GetInterface( 262 render_frame_host_->GetRemoteInterfaces()->GetInterface(
263 mojo::GetProxy(&autofill_agent_)); 263 mojo::MakeRequest(&autofill_agent_));
264 } 264 }
265 265
266 return autofill_agent_; 266 return autofill_agent_;
267 } 267 }
268 268
269 } // namespace autofill 269 } // namespace autofill
OLDNEW
« no previous file with comments | « components/arc/net/arc_net_host_impl.cc ('k') | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698