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

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

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 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
« no previous file with comments | « ppapi/proxy/websocket_resource.cc ('k') | ppapi/shared_impl/array_var.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) 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 <stdint.h>
6
5 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
6 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
7 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/c/ppb_var.h" 10 #include "ppapi/c/ppb_var.h"
9 #include "ppapi/c/ppb_websocket.h" 11 #include "ppapi/c/ppb_websocket.h"
10 #include "ppapi/proxy/locking_resource_releaser.h" 12 #include "ppapi/proxy/locking_resource_releaser.h"
11 #include "ppapi/proxy/plugin_message_filter.h" 13 #include "ppapi/proxy/plugin_message_filter.h"
12 #include "ppapi/proxy/ppapi_messages.h" 14 #include "ppapi/proxy/ppapi_messages.h"
13 #include "ppapi/proxy/ppapi_proxy_test.h" 15 #include "ppapi/proxy/ppapi_proxy_test.h"
14 #include "ppapi/proxy/websocket_resource.h" 16 #include "ppapi/proxy/websocket_resource.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 error_reply_params.set_result(PP_OK); 159 error_reply_params.set_result(PP_OK);
158 PluginMessageFilter::DispatchResourceReplyForTest( 160 PluginMessageFilter::DispatchResourceReplyForTest(
159 error_reply_params, PpapiPluginMsg_WebSocket_ErrorReply()); 161 error_reply_params, PpapiPluginMsg_WebSocket_ErrorReply());
160 162
161 EXPECT_EQ(PP_ERROR_FAILED, g_callback_result); 163 EXPECT_EQ(PP_ERROR_FAILED, g_callback_result);
162 EXPECT_TRUE(g_callback_called); 164 EXPECT_TRUE(g_callback_called);
163 } 165 }
164 166
165 } // namespace proxy 167 } // namespace proxy
166 } // namespace ppapi 168 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/websocket_resource.cc ('k') | ppapi/shared_impl/array_var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698