Searched refs:CanReadFile (Results 1 – 18 of 18) sorted by relevance
208 EXPECT_FALSE(policy->CanReadFile(id, highlighted_file_path)); in TEST_F()210 EXPECT_TRUE(policy->CanReadFile(id, dragged_file_path)); in TEST_F()212 EXPECT_FALSE(policy->CanReadFile(id, sensitive_file_path)); in TEST_F()
47 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in OnGetFileInfo()
658 if (!policy->CanReadFile(renderer_id, iter->path)) in DragTargetDragEnter()1198 if (policy->CanReadFile(GetProcess()->GetID(), it->path)) in OnStartDragging()1509 if (!policy->CanReadFile(GetProcess()->GetID(), *file)) in CanAccessFilesOfPageState()
102 EXPECT_FALSE(p->CanReadFile(kRendererID, file)); in CheckHasNoFileSystemFilePermission()403 EXPECT_TRUE(p->CanReadFile(kRendererID, file)); in TEST_F()415 EXPECT_TRUE(p->CanReadFile(kRendererID, file)); in TEST_F()428 EXPECT_TRUE(p->CanReadFile(kRendererID, file)); in TEST_F()629 EXPECT_TRUE(p->CanReadFile(kRendererID, file)); in TEST_F()640 EXPECT_FALSE(p->CanReadFile(kRendererID, file)); in TEST_F()
70 virtual bool CanReadFile(int child_id, const base::FilePath& file) OVERRIDE; in NON_EXPORTED_BASE()
648 bool ChildProcessSecurityPolicyImpl::CanReadFile(int child_id, in CanReadFile() function in content::ChildProcessSecurityPolicyImpl
69 &ChildProcessSecurityPolicyImpl::CanReadFile, in CanOpenWithPepperFlags()
109 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in CanRead()
31 return ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(process_id, in CanRead()
66 virtual bool CanReadFile(int child_id, const base::FilePath& file) = 0;
132 if (!policy->CanReadFile(process_id, *platform_path)) in SyncGetPlatformPath()
532 !security_policy_->CanReadFile(process_id_, item.path())) { in OnAppendBlobDataItemToBlob()824 if (!security_policy_->CanReadFile(process_id_, platform_path)) { in DidCreateSnapshot()
82 if (!policy->CanReadFile(render_process_id_, absolute_filenames[i])) in OnRegisterIsolatedFileSystem()
2753 EXPECT_FALSE(ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in TEST_F()2760 EXPECT_TRUE(ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in TEST_F()2769 EXPECT_TRUE(ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in TEST_F()2779 EXPECT_FALSE(ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in TEST_F()2804 EXPECT_TRUE(ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in TEST_F()2812 EXPECT_FALSE(ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in TEST_F()2871 EXPECT_TRUE(ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in TEST_F()2886 EXPECT_FALSE(ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in TEST_F()
281 !policy->CanReadFile(child_id, iter->path())) { in ShouldServiceRequest()
165 if (!policy->CanReadFile(renderer_id, path)) in RegisterFileSystem()
661 if (!policy->CanReadFile(parent_->ipc_process_id_, path)) { in OnPut()
2873 if (policy->CanReadFile(GetRenderProcessHost()->GetID(), path)) in OnEnumerateDirectory()