diff options
Diffstat (limited to 'remoting/client/plugin/pepper_util.cc')
-rw-r--r-- | remoting/client/plugin/pepper_util.cc | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/remoting/client/plugin/pepper_util.cc b/remoting/client/plugin/pepper_util.cc index 4a01c2d..2a726d2 100644 --- a/remoting/client/plugin/pepper_util.cc +++ b/remoting/client/plugin/pepper_util.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// 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. @@ -20,16 +20,4 @@ pp::CompletionCallback TaskToCompletionCallback(Task* task) { return pp::CompletionCallback(&CompletionCallbackTaskAdapter, task); } -void RunTaskOnPluginThread(Task* task) { - pp::Module::Get()->core()->CallOnMainThread( - 0 /* run immediately */, - TaskToCompletionCallback(task), - 0 /* unused value */ - ); -} - -bool CurrentlyOnPluginThread() { - return pp::Module::Get()->core()->IsMainThread(); -} - } // namespace remoting |