| Index: mojo/edk/system/platform_handle_dispatcher.cc
|
| diff --git a/mojo/edk/system/platform_handle_dispatcher.cc b/mojo/edk/system/platform_handle_dispatcher.cc
|
| index 3e708c25174f322b52606f3d6c3def1ad465dc8f..2afa8dcba8216265f4ba9f357b1d5f64cff2f901 100644
|
| --- a/mojo/edk/system/platform_handle_dispatcher.cc
|
| +++ b/mojo/edk/system/platform_handle_dispatcher.cc
|
| @@ -24,7 +24,7 @@ Dispatcher::Type PlatformHandleDispatcher::GetType() const {
|
| return Type::PLATFORM_HANDLE;
|
| }
|
|
|
| -MojoResult PlatformHandleDispatcher::Close() {
|
| +MojoResult PlatformHandleDispatcher::Close(RequestContext* request_context) {
|
| base::AutoLock lock(lock_);
|
| if (is_closed_ || in_transit_)
|
| return MOJO_RESULT_INVALID_ARGUMENT;
|
| @@ -51,7 +51,7 @@ bool PlatformHandleDispatcher::EndSerialize(void* destination,
|
| return true;
|
| }
|
|
|
| -bool PlatformHandleDispatcher::BeginTransit() {
|
| +bool PlatformHandleDispatcher::BeginTransit(RequestContext* request_context) {
|
| base::AutoLock lock(lock_);
|
| if (in_transit_)
|
| return false;
|
| @@ -59,7 +59,8 @@ bool PlatformHandleDispatcher::BeginTransit() {
|
| return in_transit_;
|
| }
|
|
|
| -void PlatformHandleDispatcher::CompleteTransitAndClose() {
|
| +void PlatformHandleDispatcher::CompleteTransitAndClose(
|
| + RequestContext* request_context) {
|
| base::AutoLock lock(lock_);
|
|
|
| in_transit_ = false;
|
| @@ -69,7 +70,7 @@ void PlatformHandleDispatcher::CompleteTransitAndClose() {
|
| ignore_result(platform_handle_.release());
|
| }
|
|
|
| -void PlatformHandleDispatcher::CancelTransit() {
|
| +void PlatformHandleDispatcher::CancelTransit(RequestContext* request_context) {
|
| base::AutoLock lock(lock_);
|
| in_transit_ = false;
|
| }
|
|
|