OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |