Home
last modified time | relevance | path

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

/external/chromium_org/webkit/common/fileapi/
Dfile_system_util_unittest.cc124 TEST_F(FileSystemUtilTest, IsRootPath) { in TEST_F() argument
125 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()
Dfile_system_util.h65 static bool IsRootPath(const base::FilePath& path);
Dfile_system_util.cc141 bool VirtualPath::IsRootPath(const base::FilePath& path) { in IsRootPath() function in fileapi::VirtualPath
/external/chromium_org/chrome/browser/sync_file_system/local/
Droot_delete_helper.cc52 DCHECK(fileapi::VirtualPath::IsRootPath(url.path())); in RootDeleteHelper()
Dlocal_file_sync_context.cc309 if (fileapi::VirtualPath::IsRootPath(url.path())) { in HandleRemoteDelete()
334 if (fileapi::VirtualPath::IsRootPath(url.path())) { in HandleRemoteAddOrUpdate()
/external/chromium_org/webkit/browser/fileapi/
Dfile_system_dir_url_request_job.cc86 if (url_.is_valid() && VirtualPath::IsRootPath(url_.virtual_path())) { in StartAsync()
Dsandbox_file_system_backend_delegate.cc523 if (VirtualPath::IsRootPath(url.path()) && in IsAccessValid()
/external/chromium_org/chrome/browser/sync_file_system/
Dfake_remote_change_processor.cc31 if (fileapi::VirtualPath::IsRootPath(url.path())) { in PrepareForProcessRemoteChange()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dsync_engine.cc498 fileapi::VirtualPath::IsRootPath(syncer->url().path())) { in DidProcessRemoteChange()
/external/chromium_org/content/browser/
Dchild_process_security_policy_impl.cc698 if (fileapi::VirtualPath::IsRootPath(url.path()) && in HasPermissionsForFileSystemFile()