Home | History | Annotate | Download | only in json

Lines Matching defs:SimpleMessage

21 struct SimpleMessage {
32 SimpleMessage() : foo(0), baz(false), bstruct(false), simple_enum(FOO) {}
62 base::JSONValueConverter<SimpleMessage>* converter) {
63 converter->RegisterIntField("foo", &SimpleMessage::foo);
64 converter->RegisterStringField("bar", &SimpleMessage::bar);
65 converter->RegisterBoolField("baz", &SimpleMessage::baz);
67 "simple_enum", &SimpleMessage::simple_enum, &ParseSimpleEnum);
68 converter->RegisterRepeatedInt("ints", &SimpleMessage::ints);
70 &SimpleMessage::bstruct,
74 &SimpleMessage::string_values,
82 SimpleMessage child;
83 ScopedVector<SimpleMessage> children;
110 SimpleMessage message;
111 base::JSONValueConverter<SimpleMessage> converter;
117 EXPECT_EQ(SimpleMessage::FOO, message.simple_enum);
166 const SimpleMessage* first_child = message.children[0];
175 const SimpleMessage* second_child = message.children[1];
194 SimpleMessage message;
195 base::JSONValueConverter<SimpleMessage> converter;
210 SimpleMessage message;
211 base::JSONValueConverter<SimpleMessage> converter;
233 SimpleMessage message;
234 base::JSONValueConverter<SimpleMessage> converter;
250 SimpleMessage message;
251 base::JSONValueConverter<SimpleMessage> converter;