Home | History | Annotate | Download | only in base

Lines Matching refs:lsb_release

42 const char kLsbReleaseKey[] = "LSB_RELEASE";
62 std::string lsb_release, lsb_release_time_str;
65 env->GetVar(kLsbReleaseKey, &lsb_release) &&
72 // If the LSB_RELEASE and LSB_RELEASE_TIME environment variables are not
73 // set, fall back to a blocking read of the lsb_release file. This should
77 ReadFileToString(path, &lsb_release);
82 ParseLsbRelease(lsb_release);
111 void ParseLsbRelease(const std::string& lsb_release) {
112 // Parse and cache lsb_release key pairs. There should only be a handful
116 SplitStringIntoKeyValuePairs(lsb_release, '=', '\n', &pairs);
213 void SysInfo::SetChromeOSVersionInfoForTest(const std::string& lsb_release,
216 env->SetVar(kLsbReleaseKey, lsb_release);