Lines Matching refs:base
22 bool FromValue(const base::Value& in_value,
23 std::unique_ptr<base::ListValue>* out_value) {
24 const base::ListValue* list = nullptr;
31 bool FromValue(const base::Value& in_value,
32 std::unique_ptr<base::DictionaryValue>* out_value) {
33 const base::DictionaryValue* dict = nullptr;
40 std::unique_ptr<base::Value> ToValue(int value) {
41 return std::unique_ptr<base::Value>{new base::FundamentalValue{value}};
44 std::unique_ptr<base::Value> ToValue(bool value) {
45 return std::unique_ptr<base::Value>{new base::FundamentalValue{value}};
48 std::unique_ptr<base::Value> ToValue(double value) {
49 return std::unique_ptr<base::Value>{new base::FundamentalValue{value}};
52 std::unique_ptr<base::Value> ToValue(const char* value) {
53 return std::unique_ptr<base::Value>{new base::StringValue{value}};
56 std::unique_ptr<base::Value> ToValue(const std::string& value) {
57 return std::unique_ptr<base::Value>{new base::StringValue{value}};