summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/ppb_message_loop_api.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-26 06:27:16 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-26 06:27:16 +0000
commit52f604edea346ddf298ce4b0828bf6dfd8e61eca (patch)
treeae4344f80e5d7099194317c927c4225607228c50 /ppapi/thunk/ppb_message_loop_api.h
parent1fdd73c241697f66cd05f1587137e000f90f3489 (diff)
downloadchromium_src-52f604edea346ddf298ce4b0828bf6dfd8e61eca.zip
chromium_src-52f604edea346ddf298ce4b0828bf6dfd8e61eca.tar.gz
chromium_src-52f604edea346ddf298ce4b0828bf6dfd8e61eca.tar.bz2
Revert 119198 - First pass at implementing the MessageLoop interface. This includes a simple
example and a helper class. The current example just asserts due to thread checks we have in there now, but this should provide a good starting point. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9097006 TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/9290040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_message_loop_api.h')
-rw-r--r--ppapi/thunk/ppb_message_loop_api.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/ppapi/thunk/ppb_message_loop_api.h b/ppapi/thunk/ppb_message_loop_api.h
deleted file mode 100644
index 36f2f1a..0000000
--- a/ppapi/thunk/ppb_message_loop_api.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// 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.
-
-#ifndef PPAPI_THUNK_PPB_MESSAGE_LOOP_API_H_
-#define PPAPI_THUNK_PPB_MESSAGE_LOOP_API_H_
-
-namespace ppapi {
-namespace thunk {
-
-class PPB_MessageLoop_API {
- public:
- virtual ~PPB_MessageLoop_API() {}
-
- virtual int32_t AttachToCurrentThread() = 0;
- virtual int32_t Run() = 0;
- virtual int32_t PostWork(PP_CompletionCallback callback,
- int64_t delay_ms) = 0;
- virtual int32_t PostQuit(PP_Bool should_destroy) = 0;
-};
-
-} // namespace thunk
-} // namespace ppapi
-
-#endif // PPAPI_THUNK_PPB_MESSAGE_LOOP_API_H_