Lines Matching defs:strings
10 #include "base/strings/string_split.h"
11 #include "base/strings/string_util.h"
12 #include "base/strings/utf_string_conversions.h"
108 void TrimStringVectorForIPC(std::vector<base::string16>* strings) {
110 if (strings->size() > kMaxListSize)
111 strings->resize(kMaxListSize);
113 // Limit the size of the strings in the vector.
114 for (size_t i = 0; i < strings->size(); ++i) {
115 if ((*strings)[i].length() > kMaxDataLength)
116 (*strings)[i].resize(kMaxDataLength);