/external/chromium_org/extensions/common/permissions/ |
D | permission_set.cc | 42 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 …]
|
D | permission_set.h | 42 const URLPatternSet& explicit_hosts, 114 const URLPatternSet& explicit_hosts() const { return explicit_hosts_; } in explicit_hosts() function
|
D | permissions_data_unittest.cc | 555 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()
|
D | permissions_data.cc | 501 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/ |
D | permission_set_unittest.cc | 206 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/ |
D | permissions_apitest.cc | 76 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()
|
D | permissions_api_helpers.cc | 63 URLPatternSet hosts = set->explicit_hosts(); in PackPermissionSet()
|
/external/chromium_org/chrome/common/extensions/ |
D | extension_messages.cc | 40 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()
|
D | extension_messages.h | 152 IPC_STRUCT_MEMBER(extensions::URLPatternSet, explicit_hosts) 247 extensions::URLPatternSet explicit_hosts; member
|
/external/chromium_org/chrome/browser/extensions/ |
D | permissions_updater.cc | 147 info.explicit_hosts = changed->explicit_hosts(); in NotifyPermissionsUpdated()
|
D | extension_prefs_unittest.cc | 267 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()
|
D | extension_prefs.cc | 548 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()
|
D | extension_service_unittest.cc | 1382 extension->GetActivePermissions()->explicit_hosts()); in TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/autotest_private/ |
D | autotest_private_api.cc | 38 pattern_set = ext->GetActivePermissions()->explicit_hosts(); in GetHostPermissions()
|
/external/chromium_org/chrome/renderer/extensions/ |
D | dispatcher.cc | 1359 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/ |
D | management_api.cc | 174 extension.GetActivePermissions()->explicit_hosts(); in CreateExtensionInfo()
|
/external/chromium_org/chrome/browser/automation/ |
D | testing_automation_provider.cc | 3493 pattern_set = ext->GetActivePermissions()->explicit_hosts(); in GetHostPermissions()
|