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

Side by Side Diff: ppapi/tests/test_websocket.cc

Issue 8772001: WebSocket Pepper API: error handling improvement (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to remote/master Created 9 years 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 | « no previous file | ppapi/thunk/ppb_websocket_thunk.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) 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 #include "ppapi/tests/test_websocket.h" 5 #include "ppapi/tests/test_websocket.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include "ppapi/c/dev/ppb_websocket_dev.h" 9 #include "ppapi/c/dev/ppb_websocket_dev.h"
10 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 ReleaseVar(received_message); 229 ReleaseVar(received_message);
230 core_interface_->ReleaseResource(ws); 230 core_interface_->ReleaseResource(ws);
231 231
232 PASS(); 232 PASS();
233 } 233 }
234 234
235 // TODO(toyoshim): Add tests for GetBufferedAmount(). 235 // TODO(toyoshim): Add tests for GetBufferedAmount().
236 // For now, the function doesn't work fine because update callback in WebKit is 236 // For now, the function doesn't work fine because update callback in WebKit is
237 // not landed yet. 237 // not landed yet.
238 238
239 // TODO(toyoshim): Add tests for didReceiveMessageError().
240
239 // TODO(toyoshim): Add other function tests. 241 // TODO(toyoshim): Add other function tests.
OLDNEW
« no previous file with comments | « no previous file | ppapi/thunk/ppb_websocket_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698