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

Side by Side Diff: ppapi/cpp/extensions/dev/socket_dev.h

Issue 17005006: Move PPB_VarArray and PPB_VarDictionary out of dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/cpp/extensions/dev/alarms_dev.cc ('k') | ppapi/cpp/extensions/dev/socket_dev.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_EXTENSIONS_DEV_SOCKET_DEV_H_ 5 #ifndef PPAPI_CPP_EXTENSIONS_DEV_SOCKET_DEV_H_
6 #define PPAPI_CPP_EXTENSIONS_DEV_SOCKET_DEV_H_ 6 #define PPAPI_CPP_EXTENSIONS_DEV_SOCKET_DEV_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" 11 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h"
12 #include "ppapi/cpp/dev/var_dictionary_dev.h"
13 #include "ppapi/cpp/extensions/dict_field.h" 12 #include "ppapi/cpp/extensions/dict_field.h"
14 #include "ppapi/cpp/extensions/ext_output_traits.h" 13 #include "ppapi/cpp/extensions/ext_output_traits.h"
15 #include "ppapi/cpp/instance_handle.h" 14 #include "ppapi/cpp/instance_handle.h"
16 #include "ppapi/cpp/var.h" 15 #include "ppapi/cpp/var.h"
17 #include "ppapi/cpp/var_array_buffer.h" 16 #include "ppapi/cpp/var_array_buffer.h"
17 #include "ppapi/cpp/var_dictionary.h"
18 18
19 namespace pp { 19 namespace pp {
20 namespace ext { 20 namespace ext {
21 21
22 template <class T> 22 template <class T>
23 class ExtCompletionCallbackWithOutput; 23 class ExtCompletionCallbackWithOutput;
24 24
25 template <class T> 25 template <class T>
26 class Optional; 26 class Optional;
27 27
(...skipping 15 matching lines...) Expand all
43 bool Populate(const PP_Var& var_value); 43 bool Populate(const PP_Var& var_value);
44 44
45 Var CreateVar() const; 45 Var CreateVar() const;
46 46
47 ValueType value; 47 ValueType value;
48 48
49 static const char* const kTcp; 49 static const char* const kTcp;
50 static const char* const kUdp; 50 static const char* const kUdp;
51 }; 51 };
52 52
53 typedef VarDictionary_Dev CreateOptions_Dev; 53 typedef VarDictionary CreateOptions_Dev;
54 54
55 class CreateInfo_Dev { 55 class CreateInfo_Dev {
56 public: 56 public:
57 CreateInfo_Dev(); 57 CreateInfo_Dev();
58 ~CreateInfo_Dev(); 58 ~CreateInfo_Dev();
59 59
60 bool Populate(const PP_Ext_Socket_CreateInfo_Dev& value); 60 bool Populate(const PP_Ext_Socket_CreateInfo_Dev& value);
61 61
62 Var CreateVar() const; 62 Var CreateVar() const;
63 63
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 private: 282 private:
283 InstanceHandle instance_; 283 InstanceHandle instance_;
284 }; 284 };
285 285
286 } // namespace socket 286 } // namespace socket
287 } // namespace ext 287 } // namespace ext
288 } // namespace pp 288 } // namespace pp
289 289
290 #endif // PPAPI_CPP_EXTENSIONS_DEV_SOCKET_DEV_H_ 290 #endif // PPAPI_CPP_EXTENSIONS_DEV_SOCKET_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/extensions/dev/alarms_dev.cc ('k') | ppapi/cpp/extensions/dev/socket_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698