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

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

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 months 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
« no previous file with comments | « webkit/glue/webmediaplayer_impl.h ('k') | webkit/tools/test_shell/simple_appcache_system.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/plugins/npapi/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/threading/thread.h"
10 #include "webkit/plugins/npapi/test/plugin_client.h" 10 #include "webkit/plugins/npapi/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;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
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/glue/webmediaplayer_impl.h ('k') | webkit/tools/test_shell/simple_appcache_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698