| 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)));
|
|
|