Lines Matching defs:SimpleMessage
20 struct SimpleMessage { struct
21 enum SimpleEnum {
24 int foo;
25 std::string bar;
26 bool baz;
27 bool bstruct;
28 SimpleEnum simple_enum;
29 std::vector<std::unique_ptr<int>> ints;
30 std::vector<std::unique_ptr<std::string>> string_values;
31 SimpleMessage() : foo(0), baz(false), bstruct(false), simple_enum(FOO) {} in SimpleMessage() function
33 static bool ParseSimpleEnum(StringPiece value, SimpleEnum* field) { in ParseSimpleEnum()
44 static bool HasFieldPresent(const base::Value* value, bool* result) { in HasFieldPresent()
49 static bool GetValueString(const base::Value* value, std::string* result) { in GetValueString()
60 static void RegisterJSONConverter( in RegisterJSONConverter()