Home
last modified time | relevance | path

Searched refs:IsRootPath (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/content/common/fileapi/
Dfile_system_util_unittest.cc147 TEST_F(FileSystemUtilTest, IsRootPath) { in TEST_F() argument
148 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()
/external/chromium_org/chrome/browser/sync_file_system/
Dsubtree_set.cc37 while (!fileapi::VirtualPath::IsRootPath(path)) { in IsDisjointWith()
59 while (!fileapi::VirtualPath::IsRootPath(path)) { in insert()
86 while (!fileapi::VirtualPath::IsRootPath(path)) { in erase()
Dfake_remote_change_processor.cc31 if (fileapi::VirtualPath::IsRootPath(url.path())) { in PrepareForProcessRemoteChange()
/external/chromium_org/chrome/browser/sync_file_system/local/
Droot_delete_helper.cc52 DCHECK(fileapi::VirtualPath::IsRootPath(url.path())); in RootDeleteHelper()
Dlocal_file_sync_status.cc66 if (fileapi::VirtualPath::IsRootPath(normalized_path)) in ContainsChildOrParent()
Dlocal_file_sync_context.cc312 if (fileapi::VirtualPath::IsRootPath(url.path())) { in HandleRemoteDelete()
337 if (fileapi::VirtualPath::IsRootPath(url.path())) { in HandleRemoteAddOrUpdate()
/external/chromium_org/webkit/common/fileapi/
Dfile_system_util.h65 static bool IsRootPath(const base::FilePath& path);
Dfile_system_util.cc142 bool VirtualPath::IsRootPath(const base::FilePath& path) { in IsRootPath() function in fileapi::VirtualPath
/external/chromium_org/webkit/browser/fileapi/
Dfile_system_dir_url_request_job.cc95 if (url_.is_valid() && VirtualPath::IsRootPath(url_.virtual_path())) { in StartAsync()
Dsandbox_file_system_backend_delegate.cc530 if (VirtualPath::IsRootPath(url.path()) && in IsAccessValid()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dsync_worker.cc575 fileapi::VirtualPath::IsRootPath(syncer->url().path())) { in DidProcessRemoteChange()
/external/chromium_org/content/browser/
Dchild_process_security_policy_impl.cc707 if (fileapi::VirtualPath::IsRootPath(url.path()) && in HasPermissionsForFileSystemFile()