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

Side by Side Diff: ppapi/proxy/websocket_resource_unittest.cc

Issue 19627002: Use a direct include of the message_loop header in ppapi/, printing/, rlz/, sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « ppapi/proxy/proxy_completion_callback_factory.h ('k') | ppapi/shared_impl/callback_tracker.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/memory/ref_counted.h" 5 #include "base/memory/ref_counted.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop/message_loop.h"
7 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/c/ppb_var.h"
8 #include "ppapi/c/ppb_websocket.h" 9 #include "ppapi/c/ppb_websocket.h"
9 #include "ppapi/c/ppb_var.h"
10 #include "ppapi/proxy/locking_resource_releaser.h" 10 #include "ppapi/proxy/locking_resource_releaser.h"
11 #include "ppapi/proxy/websocket_resource.h"
12 #include "ppapi/proxy/ppapi_messages.h" 11 #include "ppapi/proxy/ppapi_messages.h"
13 #include "ppapi/proxy/ppapi_proxy_test.h" 12 #include "ppapi/proxy/ppapi_proxy_test.h"
13 #include "ppapi/proxy/websocket_resource.h"
14 #include "ppapi/shared_impl/ppapi_globals.h" 14 #include "ppapi/shared_impl/ppapi_globals.h"
15 #include "ppapi/shared_impl/ppb_var_shared.h" 15 #include "ppapi/shared_impl/ppb_var_shared.h"
16 #include "ppapi/shared_impl/proxy_lock.h" 16 #include "ppapi/shared_impl/proxy_lock.h"
17 #include "ppapi/shared_impl/resource_tracker.h" 17 #include "ppapi/shared_impl/resource_tracker.h"
18 #include "ppapi/shared_impl/scoped_pp_resource.h" 18 #include "ppapi/shared_impl/scoped_pp_resource.h"
19 #include "ppapi/shared_impl/scoped_pp_var.h" 19 #include "ppapi/shared_impl/scoped_pp_var.h"
20 #include "ppapi/shared_impl/tracked_callback.h" 20 #include "ppapi/shared_impl/tracked_callback.h"
21 #include "ppapi/shared_impl/var.h" 21 #include "ppapi/shared_impl/var.h"
22 #include "ppapi/thunk/thunk.h" 22 #include "ppapi/thunk/thunk.h"
23 23
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 ASSERT_TRUE(plugin_dispatcher()->OnMessageReceived( 160 ASSERT_TRUE(plugin_dispatcher()->OnMessageReceived(
161 PpapiPluginMsg_ResourceReply(error_reply_params, 161 PpapiPluginMsg_ResourceReply(error_reply_params,
162 PpapiPluginMsg_WebSocket_ErrorReply()))); 162 PpapiPluginMsg_WebSocket_ErrorReply())));
163 163
164 EXPECT_EQ(PP_ERROR_FAILED, g_callback_result); 164 EXPECT_EQ(PP_ERROR_FAILED, g_callback_result);
165 EXPECT_TRUE(g_callback_called); 165 EXPECT_TRUE(g_callback_called);
166 } 166 }
167 167
168 } // namespace proxy 168 } // namespace proxy
169 } // namespace ppapi 169 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/proxy_completion_callback_factory.h ('k') | ppapi/shared_impl/callback_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698