Searched refs:IsRootPath (Results 1 – 10 of 10) sorted by relevance
124 TEST_F(FileSystemUtilTest, IsRootPath) { in TEST_F() argument125 EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("")))); in TEST_F()126 EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath())); in TEST_F()127 EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("/")))); in TEST_F()128 EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("//")))); in TEST_F()129 EXPECT_FALSE(VirtualPath::IsRootPath( in TEST_F()132 EXPECT_TRUE(VirtualPath::IsRootPath(base::FilePath(FILE_PATH_LITERAL("\\")))); in TEST_F()133 EXPECT_FALSE(VirtualPath::IsRootPath( in TEST_F()
65 static bool IsRootPath(const base::FilePath& path);
141 bool VirtualPath::IsRootPath(const base::FilePath& path) { in IsRootPath() function in fileapi::VirtualPath
52 DCHECK(fileapi::VirtualPath::IsRootPath(url.path())); in RootDeleteHelper()
309 if (fileapi::VirtualPath::IsRootPath(url.path())) { in HandleRemoteDelete()334 if (fileapi::VirtualPath::IsRootPath(url.path())) { in HandleRemoteAddOrUpdate()
86 if (url_.is_valid() && VirtualPath::IsRootPath(url_.virtual_path())) { in StartAsync()
523 if (VirtualPath::IsRootPath(url.path()) && in IsAccessValid()
31 if (fileapi::VirtualPath::IsRootPath(url.path())) { in PrepareForProcessRemoteChange()
498 fileapi::VirtualPath::IsRootPath(syncer->url().path())) { in DidProcessRemoteChange()
698 if (fileapi::VirtualPath::IsRootPath(url.path()) && in HasPermissionsForFileSystemFile()