summaryrefslogtreecommitdiffstats
path: root/remoting/client/plugin/pepper_util.h
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-08 20:19:44 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-08 20:19:44 +0000
commitf51ffcf1fa06f12c96cc3bcb6c0659c65371fe81 (patch)
tree73cf0fc1db209096852914e7ea719d217cf0ad08 /remoting/client/plugin/pepper_util.h
parent482a2662398a751f1a231b1ef84f19de91ee3764 (diff)
downloadchromium_src-f51ffcf1fa06f12c96cc3bcb6c0659c65371fe81.zip
chromium_src-f51ffcf1fa06f12c96cc3bcb6c0659c65371fe81.tar.gz
chromium_src-f51ffcf1fa06f12c96cc3bcb6c0659c65371fe81.tar.bz2
Revert r51857 "Integrating back into using the external ppapi/cpp wrappers."
For some reason, this looks like it breaks all PPAPI ui tests on linux. TBR: tonyg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/plugin/pepper_util.h')
-rw-r--r--remoting/client/plugin/pepper_util.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/remoting/client/plugin/pepper_util.h b/remoting/client/plugin/pepper_util.h
deleted file mode 100644
index 6c6cfb0..0000000
--- a/remoting/client/plugin/pepper_util.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2010 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.
-
-#ifndef REMOTING_CLIENT_PLUGIN_PLUGIN_UTIL_H_
-#define REMOTING_CLIENT_PLUGIN_PLUGIN_UTIL_H_
-
-#include "base/basictypes.h"
-
-#include "third_party/ppapi/cpp/completion_callback.h"
-
-class Task;
-
-namespace remoting {
-
-// Function for adapting a Chromium style Task into a
-// PP_CompletionCallback friendly function. The Task object should be passed
-// as |user_data|. This function will invoke Task::Run() on |user_data| when
-// called, and then delete |user_data|.
-void CompletionCallbackTaskAdapter(void* user_data, int32_t not_used);
-
-// Converts a Task* to a pp::CompletionCallback suitable for use with ppapi C++
-// APIs that require a pp::CompletionCallback. Takes ownership of |task|.
-pp::CompletionCallback TaskToCompletionCallback(Task* task);
-
-// Posts the current task to the plugin's main thread. Takes ownership of
-// |task|.
-void RunTaskOnPluginThread(Task* task);
-
-} // namespace remoting
-
-#endif // REMOTING_CLIENT_PLUGIN_PLUGIN_UTIL_H_