Lines Matching refs:FilePath
61 using base::FilePath;
92 FilePath GetP2PDir() override { return FilePath(kDefaultP2PDir); } in GetP2PDir()
135 FilePath FileGetPath(const string& file_id) override;
152 FilePath GetPath(const string& file_id, Visibility visibility);
159 bool DeleteP2PFile(const FilePath& path, const string& reason);
285 static bool MatchCompareFunc(const pair<FilePath, Time>& a, in MatchCompareFunc() argument
286 const pair<FilePath, Time>& b) { in MatchCompareFunc()
304 FilePath P2PManagerImpl::GetPath(const string& file_id, Visibility visibility) { in GetPath()
308 bool P2PManagerImpl::DeleteP2PFile(const FilePath& path, const string& reason) { in DeleteP2PFile()
320 FilePath p2p_dir = configuration_->GetP2PDir(); in PerformHousekeeping()
325 vector<pair<FilePath, Time>> matches; in PerformHousekeeping()
329 for (FilePath name = dir.Next(); !name.empty(); name = dir.Next()) { in PerformHousekeeping()
357 vector<pair<FilePath, Time>>::const_iterator i; in PerformHousekeeping()
494 FilePath path = FileGetPath(file_id); in FileShare()
512 FilePath p2p_dir = configuration_->GetP2PDir(); in FileShare()
576 FilePath P2PManagerImpl::FileGetPath(const string& file_id) { in FileGetPath()
578 FilePath path; in FileGetPath()
595 FilePath path = FileGetPath(file_id); in FileGetVisible()
606 FilePath path = FileGetPath(file_id); in FileMakeVisible()
617 FilePath new_path = path.RemoveExtension(); in FileMakeVisible()
629 FilePath path = FileGetPath(file_id); in FileGetSize()
637 FilePath path = FileGetPath(file_id); in FileGetExpectedSize()
666 FilePath p2p_dir = configuration_->GetP2PDir(); in CountSharedFiles()
671 for (FilePath name = dir.Next(); !name.empty(); name = dir.Next()) { in CountSharedFiles()