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

Side by Side Diff: ppapi/cpp/websocket.h

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 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
« no previous file with comments | « ppapi/cpp/video_frame.h ('k') | ppapi/examples/2d/graphics_2d_example.c » ('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 #ifndef PPAPI_CPP_WEBSOCKET_H_ 5 #ifndef PPAPI_CPP_WEBSOCKET_H_
6 #define PPAPI_CPP_WEBSOCKET_H_ 6 #define PPAPI_CPP_WEBSOCKET_H_
7 7
8 #include <stdint.h>
9
8 #include "ppapi/c/ppb_websocket.h" 10 #include "ppapi/c/ppb_websocket.h"
9 #include "ppapi/cpp/resource.h" 11 #include "ppapi/cpp/resource.h"
10 12
11 /// @file 13 /// @file
12 /// This file defines the WebSocket interface providing bi-directional, 14 /// This file defines the WebSocket interface providing bi-directional,
13 /// full-duplex, communications over a single TCP socket. 15 /// full-duplex, communications over a single TCP socket.
14 16
15 // Windows headers will redefine SendMessage. 17 // Windows headers will redefine SendMessage.
16 #ifdef SendMessage 18 #ifdef SendMessage
17 #undef SendMessage 19 #undef SendMessage
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 /// @return Returns a <code>Var</code> of string type. If called before the 211 /// @return Returns a <code>Var</code> of string type. If called before the
210 /// connection is established, the <code>Var</code> contains the empty 212 /// connection is established, the <code>Var</code> contains the empty
211 /// string. Returns a <code>PP_VARTYPE_UNDEFINED</code> if this function 213 /// string. Returns a <code>PP_VARTYPE_UNDEFINED</code> if this function
212 /// is called on an invalid resource. 214 /// is called on an invalid resource.
213 Var GetURL(); 215 Var GetURL();
214 }; 216 };
215 217
216 } // namespace pp 218 } // namespace pp
217 219
218 #endif // PPAPI_CPP_WEBSOCKET_H_ 220 #endif // PPAPI_CPP_WEBSOCKET_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/video_frame.h ('k') | ppapi/examples/2d/graphics_2d_example.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698