Index: chrome/browser/extensions/api/messaging/message_property_provider.cc |
diff --git a/chrome/browser/extensions/api/messaging/message_property_provider.cc b/chrome/browser/extensions/api/messaging/message_property_provider.cc |
index 1d6603b041dcc0b85bc4812cced0c1c3704b60f7..b52b02784b8bc044f2d3b6f32dcbc7b9b9acf5fe 100644 |
--- a/chrome/browser/extensions/api/messaging/message_property_provider.cc |
+++ b/chrome/browser/extensions/api/messaging/message_property_provider.cc |
@@ -48,7 +48,7 @@ void MessagePropertyProvider::GetChannelID(Profile* profile, |
// MessagePropertyProvider::GetChannelID. |
struct MessagePropertyProvider::GetChannelIDOutput { |
scoped_ptr<crypto::ECPrivateKey> channel_id_key; |
- net::ChannelIDService::RequestHandle request_handle; |
+ net::ChannelIDService::Request request; |
}; |
// static |
@@ -67,9 +67,8 @@ void MessagePropertyProvider::GetChannelIDOnIOThread( |
original_task_runner, |
base::Owned(output), |
reply); |
- int status = channel_id_service->GetChannelID(host, &output->channel_id_key, |
- net_completion_callback, |
- &output->request_handle); |
+ int status = channel_id_service->GetChannelID( |
+ host, &output->channel_id_key, net_completion_callback, &output->request); |
if (status == net::ERR_IO_PENDING) |
return; |
GotChannelID(original_task_runner, output, reply, status); |