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

Side by Side Diff: ppapi/utility/websocket/websocket_api.h

Issue 2539033005: ppapi: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration in content/renderer/pepper Created 4 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/thunk/resource_creation_api.h ('k') | no next file » | 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_UTILITY_WEBSOCKET_WEBSOCKET_API_H_ 5 #ifndef PPAPI_UTILITY_WEBSOCKET_WEBSOCKET_API_H_
6 #define PPAPI_UTILITY_WEBSOCKET_WEBSOCKET_API_H_ 6 #define PPAPI_UTILITY_WEBSOCKET_WEBSOCKET_API_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "ppapi/c/ppb_websocket.h" 10 #include "ppapi/c/ppb_websocket.h"
11 11
12 /// @file 12 /// @file
13 /// This file defines the WebSocketAPI interface. 13 /// This file defines the WebSocketAPI interface.
14 14
15 namespace pp { 15 namespace pp {
16 16
17 class CompletionCallback;
18 class Instance; 17 class Instance;
19 class Var; 18 class Var;
20 19
21 /// The <code>WebSocketAPI</code> class 20 /// The <code>WebSocketAPI</code> class
22 class WebSocketAPI { 21 class WebSocketAPI {
23 public: 22 public:
24 /// Constructs a WebSocketAPI object. 23 /// Constructs a WebSocketAPI object.
25 explicit WebSocketAPI(Instance* instance); 24 explicit WebSocketAPI(Instance* instance);
26 25
27 /// Destructs a WebSocketAPI object. 26 /// Destructs a WebSocketAPI object.
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 virtual void HandleWebSocketError() = 0; 122 virtual void HandleWebSocketError() = 0;
124 123
125 private: 124 private:
126 class Implement; 125 class Implement;
127 Implement* impl_; 126 Implement* impl_;
128 }; 127 };
129 128
130 } // namespace pp 129 } // namespace pp
131 130
132 #endif // PPAPI_UTILITY_WEBSOCKET_WEBSOCKET_API_H_ 131 #endif // PPAPI_UTILITY_WEBSOCKET_WEBSOCKET_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/resource_creation_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698