blob: 013bba4730d5897e9702d0873c4c00275ace8af6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright (c) 2011 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.
#include "remoting/client/plugin/pepper_util.h"
#include "base/callback.h"
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/cpp/module.h"
namespace remoting {
void CompletionCallbackClosureAdapter(void* user_data, int32_t not_used) {
base::Closure* closure = reinterpret_cast<base::Closure*>(user_data);
closure->Run();
delete closure;
}
} // namespace remoting
|