Lines Matching defs:fsid
67 const std::string& fsid);
73 std::string fsid;
87 virtual void RevokeFileSystem(const std::string& fsid) OVERRIDE;
89 base::FilePath GetPathForId(const std::string& fsid) const;
103 std::map<std::string /*fsid*/, FSInfo> file_systems_by_id_;
108 const std::string& fsid)
111 fsid(fsid) {
119 return fsid < other.fsid;
144 void TestMediaFileSystemContext::RevokeFileSystem(const std::string& fsid) {
145 if (!ContainsKey(file_systems_by_id_, fsid))
147 EXPECT_EQ(1U, file_systems_by_id_.erase(fsid));
151 const std::string& fsid) const {
152 std::map<std::string /*fsid*/, FSInfo>::const_iterator it =
153 file_systems_by_id_.find(fsid);
165 std::string fsid = base::StringPrintf("FSID:%d", ++fsid_);
166 FSInfo info(device_id, path, fsid);
167 file_systems_by_id_[fsid] = info;
168 return fsid;
199 base::FilePath fsid_path = fs_context->GetPathForId(info.fsid);
573 EXPECT_FALSE(sorted[i].fsid.empty()) << test;
574 if (!expect[i].fsid.empty())
575 EXPECT_EQ(expect[i].fsid, sorted[i].fsid) << test;