Home
last modified time | relevance | path

Searched refs:CanReadFile (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/content/browser/renderer_host/
Drender_view_host_unittest.cc208 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()
Dfile_utilities_message_filter.cc47 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in OnGetFileInfo()
Drender_view_host_impl.cc658 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()
/external/chromium_org/content/browser/
Dchild_process_security_policy_unittest.cc102 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()
Dchild_process_security_policy_impl.h70 virtual bool CanReadFile(int child_id, const base::FilePath& file) OVERRIDE; in NON_EXPORTED_BASE()
Dchild_process_security_policy_impl.cc648 bool ChildProcessSecurityPolicyImpl::CanReadFile(int child_id, in CanReadFile() function in content::ChildProcessSecurityPolicyImpl
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_security_helper.cc69 &ChildProcessSecurityPolicyImpl::CanReadFile, in CanOpenWithPepperFlags()
Dpepper_external_file_ref_backend.cc109 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in CanRead()
Dpepper_flash_file_message_filter.cc31 return ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(process_id, in CanRead()
/external/chromium_org/content/public/browser/
Dchild_process_security_policy.h66 virtual bool CanReadFile(int child_id, const base::FilePath& file) = 0;
/external/chromium_org/content/browser/fileapi/
Dbrowser_file_system_helper.cc132 if (!policy->CanReadFile(process_id, *platform_path)) in SyncGetPlatformPath()
Dfileapi_message_filter.cc532 !security_policy_->CanReadFile(process_id_, item.path())) { in OnAppendBlobDataItemToBlob()
824 if (!security_policy_->CanReadFile(process_id_, platform_path)) { in DidCreateSnapshot()
/external/chromium_org/content/shell/browser/
Dshell_message_filter.cc82 if (!policy->CanReadFile(render_process_id_, absolute_filenames[i])) in OnRegisterIsolatedFileSystem()
/external/chromium_org/content/browser/loader/
Dresource_dispatcher_host_unittest.cc2753 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()
Dresource_dispatcher_host_impl.cc281 !policy->CanReadFile(child_id, iter->path())) { in ShouldServiceRequest()
/external/chromium_org/chrome/browser/devtools/
Ddevtools_file_helper.cc165 if (!policy->CanReadFile(renderer_id, path)) in RegisterFileSystem()
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_dispatcher_host.cc661 if (!policy->CanReadFile(parent_->ipc_process_id_, path)) { in OnPut()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_impl.cc2873 if (policy->CanReadFile(GetRenderProcessHost()->GetID(), path)) in OnEnumerateDirectory()