Home | History | Annotate | Download | only in browser

Lines Matching refs:basenames

50 // from profile path. "profile_id" is composed of sanitized basenames of
67 // Get joined basenames of user data dir and profile.
68 base::string16 basenames = profile_path.DirName().BaseName().value() +
72 profile_id.reserve(basenames.size());
74 // Generate profile_id from sanitized basenames.
75 for (size_t i = 0; i < basenames.length(); ++i) {
76 if (IsAsciiAlpha(basenames[i]) ||
77 IsAsciiDigit(basenames[i]) ||
78 basenames[i] == L'.')
79 profile_id += basenames[i];