diff options
Diffstat (limited to 'remoting/host/service_client.cc')
-rw-r--r-- | remoting/host/service_client.cc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/remoting/host/service_client.cc b/remoting/host/service_client.cc index d487a97..6db1c6e 100644 --- a/remoting/host/service_client.cc +++ b/remoting/host/service_client.cc @@ -78,10 +78,7 @@ void ServiceClient::Core::RegisterHost( post_body.SetString("data.publicKey", public_key); std::string post_body_str; base::JSONWriter::Write(&post_body, &post_body_str); - MakeGaiaRequest(net::URLFetcher::POST, - std::string(), - post_body_str, - oauth_access_token, + MakeGaiaRequest(net::URLFetcher::POST, "", post_body_str, oauth_access_token, delegate); } @@ -91,11 +88,8 @@ void ServiceClient::Core::UnregisterHost( Delegate* delegate) { DCHECK(pending_request_type_ == PENDING_REQUEST_NONE); pending_request_type_ = PENDING_REQUEST_UNREGISTER_HOST; - MakeGaiaRequest(net::URLFetcher::DELETE_REQUEST, - host_id, - std::string(), - oauth_access_token, - delegate); + MakeGaiaRequest(net::URLFetcher::DELETE_REQUEST, host_id, "", + oauth_access_token, delegate); } void ServiceClient::Core::MakeGaiaRequest( |