Lines Matching defs:GetAs
39 // Templatized base::Value::GetAs*().
40 template <typename T> bool GetAs(const base::Value& in, T* out);
41 template<> bool GetAs(const base::Value& in, bool* out) {
44 template<> bool GetAs(const base::Value& in, int* out) {
47 template<> bool GetAs(const base::Value& in, std::string* out) {
50 template<> bool GetAs(const base::Value& in, string16* out) {
53 template<> bool GetAs(const base::Value& in, std::vector<string16>* out) {
199 if (!GetAs(value, &cpp_value)) return DownloadQuery::FilterCallback();
217 if (!GetAs(regex_value, ®ex_str)) return DownloadQuery::FilterCallback();
287 return GetAs(value, &query_terms) &&