Chromium Code Reviews

Side by Side Diff: webkit/plugins/npapi/test/plugin_thread_async_call_test.cc

Issue 5961004: Revert 69755 - Move the NPAPI files from webkit/glue/plugins to webkit/plugin... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/plugins/npapi/test/plugin_thread_async_call_test.h" 5 #include "webkit/glue/plugins/test/plugin_thread_async_call_test.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/thread.h" 9 #include "base/thread.h"
10 #include "webkit/plugins/npapi/test/plugin_client.h" 10 #include "webkit/glue/plugins/test/plugin_client.h"
11 11
12 namespace NPAPIClient { 12 namespace NPAPIClient {
13 13
14 namespace { 14 namespace {
15 15
16 // There are two plugin instances in this test. The long lived instance is used 16 // There are two plugin instances in this test. The long lived instance is used
17 // for reporting errors and signalling test completion. The short lived one is 17 // for reporting errors and signalling test completion. The short lived one is
18 // used to verify that async callbacks are not invoked after NPP_Destroy. 18 // used to verify that async callbacks are not invoked after NPP_Destroy.
19 PluginThreadAsyncCallTest* g_short_lived_instance; 19 PluginThreadAsyncCallTest* g_short_lived_instance;
20 PluginThreadAsyncCallTest* g_long_lived_instance; 20 PluginThreadAsyncCallTest* g_long_lived_instance;
(...skipping 87 matching lines...)
108 } 108 }
109 109
110 return NPERR_NO_ERROR; 110 return NPERR_NO_ERROR;
111 } 111 }
112 112
113 void PluginThreadAsyncCallTest::OnCallCompleted() { 113 void PluginThreadAsyncCallTest::OnCallCompleted() {
114 SignalTestCompleted(); 114 SignalTestCompleted();
115 } 115 }
116 116
117 } // namespace NPAPIClient 117 } // namespace NPAPIClient
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/test/plugin_thread_async_call_test.h ('k') | webkit/plugins/npapi/test/plugin_window_size_test.h » ('j') | no next file with comments »

Powered by Google App Engine