Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: webkit/glue/plugins/test/plugin_thread_async_call_test.h

Issue 338050: Ensure that all NPN_PluginThreadAsyncCall callbacks are invoked before NPP_De... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H
6 #define WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H
7
8 #include <vector>
9
10 #include "webkit/glue/plugins/test/plugin_test.h"
11
12 namespace NPAPIClient {
13
14 // This class tests scheduling and unscheduling of async callbacks using
15 // NPN_PluginThreadAsyncCall.
16 class PluginThreadAsyncCallTest : public PluginTest {
17 public:
18 PluginThreadAsyncCallTest(NPP id, NPNetscapeFuncs *host_functions);
19
20 virtual NPError New(uint16 mode, int16 argc, const char* argn[],
21 const char* argv[], NPSavedData* saved);
22
23 virtual NPError Destroy();
24
25 void OnCallSucceeded();
26 void OnCallCompleted();
27 };
28
29 } // namespace NPAPIClient
30
31 #endif // WEBKIT_GLUE_PLUGINS_TEST_PLUGIN_THREAD_ASYNC_CALL_TEST_H
OLDNEW
« no previous file with comments | « webkit/glue/plugins/test/plugin_client.cc ('k') | webkit/glue/plugins/test/plugin_thread_async_call_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698