Home
last modified time | relevance | path

Searched refs:SocketPermissionEntry (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/extensions/common/permissions/
Dsocket_permission_entry.cc39 SocketPermissionEntry::SocketPermissionEntry() in SocketPermissionEntry() function in extensions::SocketPermissionEntry
43 SocketPermissionEntry::~SocketPermissionEntry() {} in ~SocketPermissionEntry()
45 bool SocketPermissionEntry::operator<(const SocketPermissionEntry& rhs) const { in operator <()
66 bool SocketPermissionEntry::operator==(const SocketPermissionEntry& rhs) const { in operator ==()
73 bool SocketPermissionEntry::Check( in Check()
112 SocketPermissionEntry::HostType SocketPermissionEntry::GetHostType() const { in GetHostType()
114 ? SocketPermissionEntry::ANY_HOST in GetHostType()
115 : match_subdomains_ ? SocketPermissionEntry::HOSTS_IN_DOMAINS in GetHostType()
116 : SocketPermissionEntry::SPECIFIC_HOSTS; in GetHostType()
119 bool SocketPermissionEntry::IsAddressBoundType() const { in IsAddressBoundType()
[all …]
Dsocket_permission_entry.h24 class SocketPermissionEntry {
28 SocketPermissionEntry();
29 ~SocketPermissionEntry();
33 bool operator<(const SocketPermissionEntry& rhs) const;
34 bool operator==(const SocketPermissionEntry& rhs) const;
53 SocketPermissionEntry* entry);
58 SocketPermissionEntry* entry);
71 friend struct IPC::ParamTraits<SocketPermissionEntry>;
72 friend struct ipc_fuzzer::FuzzTraits<SocketPermissionEntry>;
73 friend struct ipc_fuzzer::GenerateTraits<SocketPermissionEntry>;
Dsocket_permission_data.h69 const SocketPermissionEntry& entry() const { return entry_; } in entry()
77 SocketPermissionEntry& entry();
83 SocketPermissionEntry entry_;
Dsocket_permission.cc39 i->entry().GetHostType() == SocketPermissionEntry::ANY_HOST) { in AddAnyHostMessage()
55 if (i->entry().GetHostType() == SocketPermissionEntry::HOSTS_IN_DOMAINS) in AddSubdomainHostMessage()
77 if (i->entry().GetHostType() == SocketPermissionEntry::SPECIFIC_HOSTS) in AddSpecificHostMessage()
Dsocket_permission_data.cc117 SocketPermissionEntry& SocketPermissionData::entry() { in entry()
137 return SocketPermissionEntry::ParseHostPattern(type, tokens, &entry_); in Parse()
154 entry_ = SocketPermissionEntry(); in Reset()
/external/chromium_org/extensions/common/api/sockets/
Dsockets_manifest_permission.cc37 SocketPermissionEntry entry; in ParseHostPattern()
38 if (!SocketPermissionEntry::ParseHostPattern( in ParseHostPattern()
259 const SocketPermissionEntry& entry) { in AddPermission()
269 it->GetHostType() == SocketPermissionEntry::ANY_HOST) { in AddAnyHostMessage()
286 if (it->GetHostType() == SocketPermissionEntry::HOSTS_IN_DOMAINS) in AddSubdomainHostMessage()
309 if (it->GetHostType() == SocketPermissionEntry::SPECIFIC_HOSTS) in AddSpecificHostMessage()
Dsockets_manifest_permission.h27 typedef std::set<SocketPermissionEntry> SocketPermissionEntrySet;
40 void AddPermission(const SocketPermissionEntry& entry);
/external/chromium_org/extensions/common/
Dextension_messages.h175 IPC_STRUCT_TRAITS_BEGIN(extensions::SocketPermissionEntry)