Lines Matching defs:SimpleMessage
21 struct SimpleMessage { struct
22 enum SimpleEnum {
25 int foo;
26 std::string bar;
27 bool baz;
28 bool bstruct;
29 SimpleEnum simple_enum;
30 ScopedVector<int> ints;
31 ScopedVector<std::string> string_values;
32 SimpleMessage() : foo(0), baz(false), bstruct(false), simple_enum(FOO) {} in SimpleMessage() function
34 static bool ParseSimpleEnum(const StringPiece& value, SimpleEnum* field) { in ParseSimpleEnum()
45 static bool HasFieldPresent(const base::Value* value, bool* result) { in HasFieldPresent()
50 static bool GetValueString(const base::Value* value, std::string* result) { in GetValueString()
61 static void RegisterJSONConverter( in RegisterJSONConverter()