Lines Matching refs:SimpleMessage

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