Home
last modified time | relevance | path

Searched refs:ChildProcessSecurityPolicyImpl (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/content/browser/
Dchild_process_security_policy_impl.cc70 class ChildProcessSecurityPolicyImpl::SecurityState {
309 ChildProcessSecurityPolicyImpl::ChildProcessSecurityPolicyImpl() { in ChildProcessSecurityPolicyImpl() function in content::ChildProcessSecurityPolicyImpl
325 ChildProcessSecurityPolicyImpl::~ChildProcessSecurityPolicyImpl() { in ~ChildProcessSecurityPolicyImpl()
335 return ChildProcessSecurityPolicyImpl::GetInstance(); in GetInstance()
338 ChildProcessSecurityPolicyImpl* ChildProcessSecurityPolicyImpl::GetInstance() { in GetInstance()
339 return Singleton<ChildProcessSecurityPolicyImpl>::get(); in GetInstance()
342 void ChildProcessSecurityPolicyImpl::Add(int child_id) { in Add()
347 void ChildProcessSecurityPolicyImpl::AddWorker(int child_id, in AddWorker()
354 void ChildProcessSecurityPolicyImpl::Remove(int child_id) { in Remove()
365 void ChildProcessSecurityPolicyImpl::RegisterWebSafeScheme( in RegisterWebSafeScheme()
[all …]
Dchild_process_security_policy_unittest.cc84 void GrantPermissionsForFile(ChildProcessSecurityPolicyImpl* p, in GrantPermissionsForFile()
91 void CheckHasNoFileSystemPermission(ChildProcessSecurityPolicyImpl* p, in CheckHasNoFileSystemPermission()
99 void CheckHasNoFileSystemFilePermission(ChildProcessSecurityPolicyImpl* p, in CheckHasNoFileSystemFilePermission()
119 ChildProcessSecurityPolicyImpl* p = in TEST_F()
120 ChildProcessSecurityPolicyImpl::GetInstance(); in TEST_F()
138 ChildProcessSecurityPolicyImpl* p = in TEST_F()
139 ChildProcessSecurityPolicyImpl::GetInstance(); in TEST_F()
153 ChildProcessSecurityPolicyImpl* p = in TEST_F()
154 ChildProcessSecurityPolicyImpl::GetInstance(); in TEST_F()
178 ChildProcessSecurityPolicyImpl* p = in TEST_F()
[all …]
Dchild_process_security_policy_browsertest.cc25 ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size(), in SetUp()
32 ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size(), in TearDown()
47 ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size(), in IN_PROC_BROWSER_TEST_F()
57 ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size()); in IN_PROC_BROWSER_TEST_F()
Dchild_process_security_policy_impl.h33 class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
38 virtual ~ChildProcessSecurityPolicyImpl(); in NON_EXPORTED_BASE()
40 static ChildProcessSecurityPolicyImpl* GetInstance(); in NON_EXPORTED_BASE()
201 ChildProcessSecurityPolicyImpl(); in NON_EXPORTED_BASE()
202 friend struct DefaultSingletonTraits<ChildProcessSecurityPolicyImpl>; in NON_EXPORTED_BASE()
273 DISALLOW_COPY_AND_ASSIGN(ChildProcessSecurityPolicyImpl); in NON_EXPORTED_BASE()
Dsite_instance_impl.cc348 ChildProcessSecurityPolicyImpl* policy = in LockToOrigin()
349 ChildProcessSecurityPolicyImpl::GetInstance(); in LockToOrigin()
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_security_helper.cc27 ChildProcessSecurityPolicyImpl* policy = in CanOpenFileWithPepperFlags()
28 ChildProcessSecurityPolicyImpl::GetInstance(); in CanOpenFileWithPepperFlags()
69 &ChildProcessSecurityPolicyImpl::CanReadFile, in CanOpenWithPepperFlags()
70 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFile, in CanOpenWithPepperFlags()
71 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFile, in CanOpenWithPepperFlags()
72 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFile, in CanOpenWithPepperFlags()
82 &ChildProcessSecurityPolicyImpl::CanReadFileSystemFile, in CanOpenFileSystemURLWithPepperFlags()
83 &ChildProcessSecurityPolicyImpl::CanWriteFileSystemFile, in CanOpenFileSystemURLWithPepperFlags()
84 &ChildProcessSecurityPolicyImpl::CanCreateFileSystemFile, in CanOpenFileSystemURLWithPepperFlags()
85 &ChildProcessSecurityPolicyImpl::CanCreateReadWriteFileSystemFile, in CanOpenFileSystemURLWithPepperFlags()
Dpepper_internal_file_ref_backend.cc267 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFileSystemFile( in CanRead()
278 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanWriteFileSystemFile( in CanWrite()
289 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanCreateFileSystemFile( in CanCreate()
300 ChildProcessSecurityPolicyImpl* policy = in CanReadWrite()
301 ChildProcessSecurityPolicyImpl::GetInstance(); in CanReadWrite()
Dpepper_external_file_ref_backend.cc109 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in CanRead()
127 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanCreateReadWriteFile( in CanReadWrite()
Dpepper_flash_file_message_filter.cc31 return ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(process_id, in CanRead()
36 return ChildProcessSecurityPolicyImpl::GetInstance()->CanCreateReadWriteFile( in CanCreateReadWrite()
/external/chromium_org/content/browser/renderer_host/media/
Dwebrtc_identity_service_host_unittest.cc65 ChildProcessSecurityPolicyImpl* policy = in WebRTCIdentityServiceHostForTest()
66 ChildProcessSecurityPolicyImpl::GetInstance(); in WebRTCIdentityServiceHostForTest()
88 ChildProcessSecurityPolicyImpl* policy = in ~WebRTCIdentityServiceHostForTest()
89 ChildProcessSecurityPolicyImpl::GetInstance(); in ~WebRTCIdentityServiceHostForTest()
176 ChildProcessSecurityPolicyImpl* policy = in TEST_F()
177 ChildProcessSecurityPolicyImpl::GetInstance(); in TEST_F()
Dwebrtc_identity_service_host.cc51 ChildProcessSecurityPolicyImpl* policy = in OnRequestIdentity()
52 ChildProcessSecurityPolicyImpl::GetInstance(); in OnRequestIdentity()
Ddevice_request_message_filter.cc126 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanRequestURL( in OnGetSources()
/external/chromium_org/content/browser/fileapi/
Dbrowser_file_system_helper.cc90 ChildProcessSecurityPolicyImpl::GetInstance() in CreateFileSystemContext()
122 ChildProcessSecurityPolicyImpl* policy = in SyncGetPlatformPath()
123 ChildProcessSecurityPolicyImpl::GetInstance(); in SyncGetPlatformPath()
Dfileapi_message_filter.h55 class ChildProcessSecurityPolicyImpl; variable
212 ChildProcessSecurityPolicyImpl* security_policy_;
/external/chromium_org/content/browser/renderer_host/
Drender_view_host_unittest.cc204 ChildProcessSecurityPolicyImpl* policy = in TEST_F()
205 ChildProcessSecurityPolicyImpl::GetInstance(); in TEST_F()
223 ChildProcessSecurityPolicyImpl::GetInstance()->GrantReadFile( in TEST_F()
238 ChildProcessSecurityPolicyImpl::GetInstance()->GrantReadFile( in TEST_F()
Drender_view_host_impl.cc445 if (ChildProcessSecurityPolicyImpl::GetInstance()->HasWebUIBindings( in ComputeWebkitPrefs()
616 ChildProcessSecurityPolicyImpl* policy = in DragTargetDragEnter()
617 ChildProcessSecurityPolicyImpl::GetInstance(); in DragTargetDragEnter()
749 !ChildProcessSecurityPolicyImpl::GetInstance()->HasWebUIBindings( in AllowBindings()
763 ChildProcessSecurityPolicyImpl::GetInstance()->GrantWebUIBindings( in AllowBindings()
821 ChildProcessSecurityPolicyImpl::GetInstance()->GrantCreateReadWriteFile( in FilesSelectedInChooser()
824 ChildProcessSecurityPolicyImpl::GetInstance()->GrantReadFile( in FilesSelectedInChooser()
837 ChildProcessSecurityPolicyImpl::GetInstance()->GrantReadFile( in DirectoryEnumerationFinished()
1178 ChildProcessSecurityPolicyImpl* policy = in OnStartDragging()
1179 ChildProcessSecurityPolicyImpl::GetInstance(); in OnStartDragging()
[all …]
Dwebsocket_dispatcher_host.cc88 ChildProcessSecurityPolicyImpl* policy = in CanReadRawCookies()
89 ChildProcessSecurityPolicyImpl::GetInstance(); in CanReadRawCookies()
Drender_message_filter.cc573 ChildProcessSecurityPolicyImpl* policy = in OnSetCookie()
574 ChildProcessSecurityPolicyImpl::GetInstance(); in OnSetCookie()
593 ChildProcessSecurityPolicyImpl* policy = in OnGetCookies()
594 ChildProcessSecurityPolicyImpl::GetInstance(); in OnGetCookies()
617 ChildProcessSecurityPolicyImpl* policy = in OnGetRawCookies()
618 ChildProcessSecurityPolicyImpl::GetInstance(); in OnGetRawCookies()
640 ChildProcessSecurityPolicyImpl* policy = in OnDeleteCookie()
641 ChildProcessSecurityPolicyImpl::GetInstance(); in OnDeleteCookie()
Dfile_utilities_message_filter.cc47 if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile( in OnGetFileInfo()
/external/chromium_org/content/public/test/
Dmock_render_process_host.cc32 ChildProcessSecurityPolicyImpl::GetInstance()->Add(GetID()); in MockRenderProcessHost()
38 ChildProcessSecurityPolicyImpl::GetInstance()->Remove(GetID()); in ~MockRenderProcessHost()
/external/chromium_org/content/browser/loader/
Dresource_dispatcher_host_unittest.cc218 ChildProcessSecurityPolicyImpl::GetInstance()->Add(child_id()); in TestFilter()
755 ChildProcessSecurityPolicyImpl::GetInstance()->Add(0); in SetUp()
770 ChildProcessSecurityPolicyImpl::GetInstance()->Remove(0); in TearDown()
816 ChildProcessSecurityPolicyImpl* policy = in EnsureSchemeIsAllowed()
817 ChildProcessSecurityPolicyImpl::GetInstance(); in EnsureSchemeIsAllowed()
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()
[all …]
Dresource_loader.cc215 !ChildProcessSecurityPolicyImpl::GetInstance()-> in OnReceivedRedirect()
324 ChildProcessSecurityPolicyImpl* policy = in OnResponseStarted()
325 ChildProcessSecurityPolicyImpl::GetInstance(); in OnResponseStarted()
/external/chromium_org/content/browser/media/
Dmidi_dispatcher_host.cc113 ChildProcessSecurityPolicyImpl::GetInstance()-> in WasSysExPermissionGranted()
/external/chromium_org/content/browser/devtools/
Drender_view_devtools_agent_host.cc189 ChildProcessSecurityPolicyImpl::GetInstance()->GrantReadRawCookies( in InnerOnClientAttached()
241 ChildProcessSecurityPolicyImpl::GetInstance()->RevokeReadRawCookies( in InnerClientDetachedFromRenderer()
/external/chromium_org/content/browser/frame_host/
Drender_frame_host_manager_browsertest.cc1333 EXPECT_TRUE(ChildProcessSecurityPolicyImpl::GetInstance()->HasWebUIBindings( in IN_PROC_BROWSER_TEST_F()
1368 EXPECT_TRUE(ChildProcessSecurityPolicyImpl::GetInstance()->HasWebUIBindings( in IN_PROC_BROWSER_TEST_F()
1411 EXPECT_TRUE(ChildProcessSecurityPolicyImpl::GetInstance()->HasWebUIBindings( in IN_PROC_BROWSER_TEST_F()
1419 EXPECT_FALSE(ChildProcessSecurityPolicyImpl::GetInstance()->HasWebUIBindings( in IN_PROC_BROWSER_TEST_F()
1438 EXPECT_TRUE(ChildProcessSecurityPolicyImpl::GetInstance()->HasWebUIBindings( in IN_PROC_BROWSER_TEST_F()

12