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

Unified Diff: chrome/browser/process_resource_usage.h

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/process_resource_usage.h
diff --git a/chrome/browser/process_resource_usage.h b/chrome/browser/process_resource_usage.h
index 0a8380884ac54ed91cfccb49ccb05e4b2447430d..9c3754013b574616ca3013ead7621697314296a4 100644
--- a/chrome/browser/process_resource_usage.h
+++ b/chrome/browser/process_resource_usage.h
@@ -28,7 +28,7 @@
// 1. Create a chrome::mojom::ResourceUsageReporterPtr and obtain an
// InterfaceRequest<>
// using
-// mojo::GetProxy.
+// mojo::MakeRequest.
// 2. Use the child process's service registry to connect to the service using
// the InterfaceRequest<>. Note, ServiceRegistry is thread hostile and
// must always be accessed from the same thread. However, InterfaceRequest<>
@@ -46,7 +46,7 @@
// ...
// chrome::mojom::ResourceUsageReporterPtr service;
// mojo::InterfaceRequest<chrome::mojom::ResourceUsageReporter> request =
-// mojo::GetProxy(&service);
+// mojo::MakeRequest(&service);
// content::BrowserThread::PostTask(
// content::BrowserThread::IO, FROM_HERE,
// base::Bind(&Foo::ConnectToService, this, base::Passed(&request)));

Powered by Google App Engine
This is Rietveld 408576698