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

Side by Side Diff: ppapi/proxy/serialized_structs.h

Issue 1307173009: rebased ppapi vpnProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: fix compile Created 5 years, 3 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/resource_creation_proxy.cc ('k') | ppapi/proxy/serialized_structs.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) 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_PROXY_SERIALIZED_STRUCTS_H_ 5 #ifndef PPAPI_PROXY_SERIALIZED_STRUCTS_H_
6 #define PPAPI_PROXY_SERIALIZED_STRUCTS_H_ 6 #define PPAPI_PROXY_SERIALIZED_STRUCTS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void CopyToPPTrueTypeFontDesc(PP_TrueTypeFontDesc_Dev* desc) const; 88 void CopyToPPTrueTypeFontDesc(PP_TrueTypeFontDesc_Dev* desc) const;
89 89
90 std::string family; 90 std::string family;
91 PP_TrueTypeFontFamily_Dev generic_family; 91 PP_TrueTypeFontFamily_Dev generic_family;
92 PP_TrueTypeFontStyle_Dev style; 92 PP_TrueTypeFontStyle_Dev style;
93 PP_TrueTypeFontWeight_Dev weight; 93 PP_TrueTypeFontWeight_Dev weight;
94 PP_TrueTypeFontWidth_Dev width; 94 PP_TrueTypeFontWidth_Dev width;
95 PP_TrueTypeFontCharset_Dev charset; 95 PP_TrueTypeFontCharset_Dev charset;
96 }; 96 };
97 97
98 struct PPAPI_PROXY_EXPORT SerializedVpnProviderParameters {
99 SerializedVpnProviderParameters();
100 ~SerializedVpnProviderParameters();
101
102 // Mandatory
103 std::string address;
104 std::string subnet;
105 std::vector<std::string> exclusion_list;
106 std::vector<std::string> inclusion_list;
107 std::vector<std::string> dns_servers;
108
109 // Optional
110 int32_t mtu;
111 std::string broadcast_address;
112 std::vector<std::string> domain_search;
113 };
114
98 struct SerializedDirEntry { 115 struct SerializedDirEntry {
99 std::string name; 116 std::string name;
100 bool is_dir; 117 bool is_dir;
101 }; 118 };
102 119
103 struct PPAPI_PROXY_EXPORT PPBFlash_DrawGlyphs_Params { 120 struct PPAPI_PROXY_EXPORT PPBFlash_DrawGlyphs_Params {
104 PPBFlash_DrawGlyphs_Params(); 121 PPBFlash_DrawGlyphs_Params();
105 ~PPBFlash_DrawGlyphs_Params(); 122 ~PPBFlash_DrawGlyphs_Params();
106 123
107 PP_Instance instance; 124 PP_Instance instance;
(...skipping 27 matching lines...) Expand all
135 #if defined(OS_WIN) 152 #if defined(OS_WIN)
136 typedef HANDLE ImageHandle; 153 typedef HANDLE ImageHandle;
137 #else 154 #else
138 typedef base::SharedMemoryHandle ImageHandle; 155 typedef base::SharedMemoryHandle ImageHandle;
139 #endif 156 #endif
140 157
141 } // namespace proxy 158 } // namespace proxy
142 } // namespace ppapi 159 } // namespace ppapi
143 160
144 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_ 161 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.cc ('k') | ppapi/proxy/serialized_structs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698