| Index: components/copresence/rpc/rpc_handler.h
|
| diff --git a/components/copresence/rpc/rpc_handler.h b/components/copresence/rpc/rpc_handler.h
|
| index 34e64278025672e328d922a085a152067f74643f..94449b16e6aa92a49b04f6682215f7861e814304 100644
|
| --- a/components/copresence/rpc/rpc_handler.h
|
| +++ b/components/copresence/rpc/rpc_handler.h
|
| @@ -66,11 +66,13 @@ class RpcHandler {
|
| // Arguments:
|
| // URLRequestContextGetter: Context for the HTTP POST request.
|
| // string: Name of the rpc to invoke. URL format: server.google.com/rpc_name
|
| + // string: The id of the app making the request.
|
| // MessageLite: Contents of POST request to be sent. This needs to be
|
| // a (scoped) pointer to ease handling of the abstract MessageLite class.
|
| // ResponseCallback: Receives the response to the request.
|
| typedef base::Callback<void(net::URLRequestContextGetter*,
|
| const std::string&,
|
| + const std::string&,
|
| scoped_ptr<google::protobuf::MessageLite>,
|
| const PostCleanupCallback&)> PostCallback;
|
|
|
| @@ -110,6 +112,7 @@ class RpcHandler {
|
| // to contact the server, but it can be overridden for testing.
|
| void SendHttpPost(net::URLRequestContextGetter* url_context_getter,
|
| const std::string& rpc_name,
|
| + const std::string& app_id,
|
| scoped_ptr<google::protobuf::MessageLite> request_proto,
|
| const PostCleanupCallback& callback);
|
|
|
|
|