| Index: webkit/plugins/ppapi/ppb_transport_impl.h
|
| diff --git a/webkit/plugins/ppapi/ppb_transport_impl.h b/webkit/plugins/ppapi/ppb_transport_impl.h
|
| index 34393e4297976964b6c2bd743f7381325a2167c8..0af5c5dbc945d6a2745373a1350aea72cf6185e1 100644
|
| --- a/webkit/plugins/ppapi/ppb_transport_impl.h
|
| +++ b/webkit/plugins/ppapi/ppb_transport_impl.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -36,14 +36,19 @@ class PPB_Transport_Impl : public ::ppapi::Resource,
|
| virtual PP_Bool IsWritable() OVERRIDE;
|
| virtual int32_t SetProperty(PP_TransportProperty property,
|
| PP_Var value) OVERRIDE;
|
| - virtual int32_t Connect(PP_CompletionCallback callback) OVERRIDE;
|
| - virtual int32_t GetNextAddress(PP_Var* address,
|
| - PP_CompletionCallback callback) OVERRIDE;
|
| + virtual int32_t Connect(
|
| + scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
|
| + virtual int32_t GetNextAddress(
|
| + PP_Var* address,
|
| + scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
|
| virtual int32_t ReceiveRemoteAddress(PP_Var address) OVERRIDE;
|
| - virtual int32_t Recv(void* data, uint32_t len,
|
| - PP_CompletionCallback callback) OVERRIDE;
|
| - virtual int32_t Send(const void* data, uint32_t len,
|
| - PP_CompletionCallback callback) OVERRIDE;
|
| + virtual int32_t Recv(void* data,
|
| + uint32_t len,
|
| + scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
|
| + virtual int32_t Send(
|
| + const void* data,
|
| + uint32_t len,
|
| + scoped_refptr< ::ppapi::TrackedCallback> callback) OVERRIDE;
|
| virtual int32_t Close() OVERRIDE;
|
|
|
| // webkit_glue::P2PTransport::EventHandler implementation.
|
|
|