Searched refs:IsRootPath (Results 1 – 12 of 12) sorted by relevance
147 TEST_F(FileSystemUtilTest, IsRootPath) { in TEST_F() argument148 EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("")))); in TEST_F()149 EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath())); in TEST_F()150 EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("/")))); in TEST_F()151 EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("//")))); in TEST_F()152 EXPECT_FALSE(VirtualPath::IsRootPath( in TEST_F()155 EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("\\")))); in TEST_F()156 EXPECT_FALSE(VirtualPath::IsRootPath( in TEST_F()
37 while (!fileapi::VirtualPath::IsRootPath(path)) { in IsDisjointWith()59 while (!fileapi::VirtualPath::IsRootPath(path)) { in insert()86 while (!fileapi::VirtualPath::IsRootPath(path)) { in erase()
31 if (fileapi::VirtualPath::IsRootPath(url.path())) { in PrepareForProcessRemoteChange()
52 DCHECK(fileapi::VirtualPath::IsRootPath(url.path())); in RootDeleteHelper()
66 if (fileapi::VirtualPath::IsRootPath(normalized_path)) in ContainsChildOrParent()
312 if (fileapi::VirtualPath::IsRootPath(url.path())) { in HandleRemoteDelete()337 if (fileapi::VirtualPath::IsRootPath(url.path())) { in HandleRemoteAddOrUpdate()
65 static bool IsRootPath(const base::FilePath& path);
142 bool VirtualPath::IsRootPath(const base::FilePath& path) { in IsRootPath() function in fileapi::VirtualPath
95 if (url_.is_valid() && VirtualPath::IsRootPath(url_.virtual_path())) { in StartAsync()
530 if (VirtualPath::IsRootPath(url.path()) && in IsAccessValid()
575 fileapi::VirtualPath::IsRootPath(syncer->url().path())) { in DidProcessRemoteChange()
707 if (fileapi::VirtualPath::IsRootPath(url.path()) && in HasPermissionsForFileSystemFile()