Home
last modified time | relevance | path

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

/external/chromium_org/chrome/common/extensions/permissions/
Dsocket_permission_entry.cc42 SocketPermissionEntry::SocketPermissionEntry() in SocketPermissionEntry() function in extensions::SocketPermissionEntry
47 SocketPermissionEntry::~SocketPermissionEntry() {} in ~SocketPermissionEntry()
49 bool SocketPermissionEntry::operator<(const SocketPermissionEntry& rhs) const { in operator <()
70 bool SocketPermissionEntry::operator==(const SocketPermissionEntry& rhs) const { in operator ==()
77 bool SocketPermissionEntry::Check( in Check()
116 SocketPermissionEntry::HostType SocketPermissionEntry::GetHostType() const { in GetHostType()
117 return pattern_.host.empty() ? SocketPermissionEntry::ANY_HOST : in GetHostType()
118 match_subdomains_ ? SocketPermissionEntry::HOSTS_IN_DOMAINS : in GetHostType()
119 SocketPermissionEntry::SPECIFIC_HOSTS; in GetHostType()
122 bool SocketPermissionEntry::IsAddressBoundType() const { in IsAddressBoundType()
[all …]
Dsocket_permission_entry.h19 class SocketPermissionEntry {
27 SocketPermissionEntry();
28 ~SocketPermissionEntry();
32 bool operator<(const SocketPermissionEntry& rhs) const;
33 bool operator==(const SocketPermissionEntry& rhs) const;
52 SocketPermissionEntry* entry);
57 SocketPermissionEntry* entry);
70 friend struct IPC::ParamTraits<SocketPermissionEntry>;
71 friend struct FuzzTraits<SocketPermissionEntry>;
Dsocket_permission_data.h64 const SocketPermissionEntry& entry() const { return entry_; } in entry()
71 SocketPermissionEntry& entry();
77 SocketPermissionEntry entry_;
Dsocket_permission.cc41 i->entry().GetHostType() == SocketPermissionEntry::ANY_HOST) { in AddAnyHostMessage()
57 if (i->entry().GetHostType() == SocketPermissionEntry::HOSTS_IN_DOMAINS) in AddSubdomainHostMessage()
79 if (i->entry().GetHostType() == SocketPermissionEntry::SPECIFIC_HOSTS) in AddSpecificHostMessage()
Dsocket_permission_data.cc118 SocketPermissionEntry& SocketPermissionData::entry() { in entry()
138 return SocketPermissionEntry::ParseHostPattern(type, tokens, &entry_); in Parse()
155 entry_ = SocketPermissionEntry(); in Reset()
/external/chromium_org/chrome/common/extensions/api/sockets/
Dsockets_manifest_permission.cc37 SocketPermissionEntry entry; in ParseHostPattern()
38 if (!SocketPermissionEntry::ParseHostPattern( in ParseHostPattern()
301 const SocketPermissionEntry& entry) { in AddPermission()
310 it->GetHostType() == SocketPermissionEntry::ANY_HOST) { in AddAnyHostMessage()
326 if (it->GetHostType() == SocketPermissionEntry::HOSTS_IN_DOMAINS) in AddSubdomainHostMessage()
348 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/chrome/common/extensions/
Dextension_messages.h186 IPC_STRUCT_TRAITS_BEGIN(extensions::SocketPermissionEntry)