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

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

Issue 16739016: Use a direct include of strings headers in webkit/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing include from ordering Created 7 years, 6 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #define UNIT_TEST // To get the ShadowingAtExitManager. 5 #define UNIT_TEST // To get the ShadowingAtExitManager.
6 #include "base/at_exit.h" 6 #include "base/at_exit.h"
7 7
8 #include "webkit/plugins/npapi/test/plugin_thread_async_call_test.h" 8 #include "webkit/plugins/npapi/test/plugin_thread_async_call_test.h"
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "webkit/plugins/npapi/test/plugin_client.h" 14 #include "webkit/plugins/npapi/test/plugin_client.h"
15 15
16 namespace NPAPIClient { 16 namespace NPAPIClient {
17 17
18 namespace { 18 namespace {
19 19
20 // There are two plugin instances in this test. The long lived instance is used 20 // There are two plugin instances in this test. The long lived instance is used
21 // for reporting errors and signalling test completion. The short lived one is 21 // for reporting errors and signalling test completion. The short lived one is
22 // used to verify that async callbacks are not invoked after NPP_Destroy. 22 // used to verify that async callbacks are not invoked after NPP_Destroy.
(...skipping 85 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/plugins/npapi/test/plugin_test.cc ('k') | webkit/plugins/npapi/test/plugin_windowless_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698