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

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

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/serialized_structs.h ('k') | ppapi/proxy/vpn_provider_resource.h » ('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 #include "ppapi/proxy/serialized_structs.h" 5 #include "ppapi/proxy/serialized_structs.h"
6 6
7 #include "base/pickle.h" 7 #include "base/pickle.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "ppapi/c/dev/ppb_font_dev.h" 9 #include "ppapi/c/dev/ppb_font_dev.h"
10 #include "ppapi/c/pp_file_info.h" 10 #include "ppapi/c/pp_file_info.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 PP_TrueTypeFontDesc_Dev* desc) const { 115 PP_TrueTypeFontDesc_Dev* desc) const {
116 desc->family = StringVar::StringToPPVar(family); 116 desc->family = StringVar::StringToPPVar(family);
117 117
118 desc->generic_family = generic_family; 118 desc->generic_family = generic_family;
119 desc->style = style; 119 desc->style = style;
120 desc->weight = weight; 120 desc->weight = weight;
121 desc->width = width; 121 desc->width = width;
122 desc->charset = charset; 122 desc->charset = charset;
123 } 123 }
124 124
125 SerializedVpnProviderParameters::SerializedVpnProviderParameters() : mtu(0) {
126 }
127 SerializedVpnProviderParameters::~SerializedVpnProviderParameters() {
128 }
129
125 PPBFlash_DrawGlyphs_Params::PPBFlash_DrawGlyphs_Params() 130 PPBFlash_DrawGlyphs_Params::PPBFlash_DrawGlyphs_Params()
126 : instance(0), 131 : instance(0),
127 font_desc(), 132 font_desc(),
128 color(0) { 133 color(0) {
129 clip.point.x = 0; 134 clip.point.x = 0;
130 clip.point.y = 0; 135 clip.point.y = 0;
131 clip.size.height = 0; 136 clip.size.height = 0;
132 clip.size.width = 0; 137 clip.size.width = 0;
133 position.x = 0; 138 position.x = 0;
134 position.y = 0; 139 position.y = 0;
135 allow_subpixel_aa = PP_FALSE; 140 allow_subpixel_aa = PP_FALSE;
136 } 141 }
137 142
138 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} 143 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {}
139 144
140 } // namespace proxy 145 } // namespace proxy
141 } // namespace ppapi 146 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/serialized_structs.h ('k') | ppapi/proxy/vpn_provider_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698