Home
last modified time | relevance | path

Searched refs:explicit_hosts (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/extensions/common/permissions/
Dpermission_set.cc42 const URLPatternSet& explicit_hosts, in PermissionSet() argument
47 AddPatternsAndRemovePaths(explicit_hosts, &explicit_hosts_); in PermissionSet()
68 URLPatternSet explicit_hosts; in CreateDifference() local
69 URLPatternSet::CreateDifference(set1_safe->explicit_hosts(), in CreateDifference()
70 set2_safe->explicit_hosts(), in CreateDifference()
71 &explicit_hosts); in CreateDifference()
79 explicit_hosts, scriptable_hosts); in CreateDifference()
98 URLPatternSet explicit_hosts; in CreateIntersection() local
99 URLPatternSet::CreateIntersection(set1_safe->explicit_hosts(), in CreateIntersection()
100 set2_safe->explicit_hosts(), in CreateIntersection()
[all …]
Dpermission_set.h42 const URLPatternSet& explicit_hosts,
114 const URLPatternSet& explicit_hosts() const { return explicit_hosts_; } in explicit_hosts() function
Dpermissions_data_unittest.cc555 EXPECT_EQ(permissions->explicit_hosts(), in TEST_F()
557 ->explicit_hosts()); in TEST_F()
584 EXPECT_EQ(permissions->explicit_hosts(), in TEST_F()
586 ->explicit_hosts()); in TEST_F()
594 EXPECT_EQ(permissions->explicit_hosts(), in TEST_F()
596 ->explicit_hosts()); in TEST_F()
Dpermissions_data.cc501 tab_permissions->explicit_hosts().MatchesSecurityOrigin(document_url)) { in CanExecuteScriptOnPage()
547 tab_permissions->explicit_hosts().MatchesSecurityOrigin(page_url)) { in CanCaptureVisiblePage()
/external/chromium_org/chrome/common/extensions/permissions/
Dpermission_set_unittest.cc206 URLPatternSet explicit_hosts; in TEST() local
209 AddPattern(&explicit_hosts, "http://*.google.com/*"); in TEST()
211 AddPattern(&explicit_hosts, "http://www.example.com/a/particular/path/*"); in TEST()
214 apis, manifest_permissions, explicit_hosts, scriptable_hosts); in TEST()
289 EXPECT_EQ(expected_explicit_hosts, union_set->explicit_hosts()); in TEST()
353 EXPECT_EQ(expected_explicit_hosts, union_set->explicit_hosts()); in TEST()
417 EXPECT_EQ(expected_explicit_hosts, new_set->explicit_hosts()); in TEST()
472 EXPECT_EQ(expected_explicit_hosts, new_set->explicit_hosts()); in TEST()
575 EXPECT_EQ(expected_explicit_hosts, new_set->explicit_hosts()); in TEST()
1058 URLPatternSet explicit_hosts; in TEST() local
[all …]
/external/chromium_org/chrome/browser/extensions/api/permissions/
Dpermissions_apitest.cc76 URLPatternSet explicit_hosts; in IN_PROC_BROWSER_TEST_F() local
77 AddPattern(&explicit_hosts, "http://*.c.com/*"); in IN_PROC_BROWSER_TEST_F()
80 explicit_hosts, URLPatternSet()); in IN_PROC_BROWSER_TEST_F()
Dpermissions_api_helpers.cc63 URLPatternSet hosts = set->explicit_hosts(); in PackPermissionSet()
/external/chromium_org/chrome/common/extensions/
Dextension_messages.cc40 explicit_hosts(extension->GetActivePermissions()->explicit_hosts()), in ExtensionMsg_Loaded_Params()
54 explicit_hosts, scriptable_hosts)); in ConvertToExtension()
234 WriteParam(m, p.explicit_hosts); in Write()
247 ReadParam(m, iter, &p->explicit_hosts) && in Read()
Dextension_messages.h152 IPC_STRUCT_MEMBER(extensions::URLPatternSet, explicit_hosts)
247 extensions::URLPatternSet explicit_hosts; member
/external/chromium_org/chrome/browser/extensions/
Dpermissions_updater.cc147 info.explicit_hosts = changed->explicit_hosts(); in NotifyPermissionsUpdated()
Dextension_prefs_unittest.cc267 granted_permissions->explicit_hosts()); in Initialize()
280 granted_permissions->explicit_hosts()); in Initialize()
301 granted_permissions->explicit_hosts()); in Initialize()
317 permissions->explicit_hosts()); in Verify()
372 EXPECT_EQ(active_perms_->explicit_hosts(), active->explicit_hosts()); in Initialize()
Dextension_prefs.cc548 URLPatternSet explicit_hosts; in ReadPrefAsPermissionSet() local
551 &explicit_hosts, Extension::kValidHostPermissionSchemes); in ReadPrefAsPermissionSet()
560 apis, manifest_permissions, explicit_hosts, scriptable_hosts); in ReadPrefAsPermissionSet()
605 if (!new_value->explicit_hosts().is_empty()) { in SetExtensionPrefPermissionSet()
608 new_value->explicit_hosts()); in SetExtensionPrefPermissionSet()
908 std::string explicit_hosts = in MigratePermissions() local
912 *ext_id, explicit_hosts, hosts->DeepCopy()); in MigratePermissions()
Dextension_service_unittest.cc1382 extension->GetActivePermissions()->explicit_hosts()); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/autotest_private/
Dautotest_private_api.cc38 pattern_set = ext->GetActivePermissions()->explicit_hosts(); in GetHostPermissions()
/external/chromium_org/chrome/renderer/extensions/
Ddispatcher.cc1359 extension->GetActivePermissions()->explicit_hosts()); in InitOriginPermissions()
1411 const URLPatternSet& explicit_hosts = params.explicit_hosts; in OnUpdatePermissions() local
1420 explicit_hosts, scriptable_hosts); in OnUpdatePermissions()
1438 AddOrRemoveOriginPermissions(reason, extension, explicit_hosts); in OnUpdatePermissions()
/external/chromium_org/chrome/browser/extensions/api/management/
Dmanagement_api.cc174 extension.GetActivePermissions()->explicit_hosts(); in CreateExtensionInfo()
/external/chromium_org/chrome/browser/automation/
Dtesting_automation_provider.cc3493 pattern_set = ext->GetActivePermissions()->explicit_hosts(); in GetHostPermissions()