| Index: chrome/common/extensions/permissions/socket_permission_data.h
|
| diff --git a/chrome/common/extensions/permissions/socket_permission_data.h b/chrome/common/extensions/permissions/socket_permission_data.h
|
| index 118c613d62a255b5e57091b9775eabb890678793..1a23cc2c9a81271860c05ae0c196c68ce839b517 100644
|
| --- a/chrome/common/extensions/permissions/socket_permission_data.h
|
| +++ b/chrome/common/extensions/permissions/socket_permission_data.h
|
| @@ -22,7 +22,11 @@ namespace extensions {
|
| // <op> := 'tcp-connect' |
|
| // 'tcp-listen' |
|
| // 'udp-bind' |
|
| -// 'udp-send-to'
|
| +// 'udp-send-to' |
|
| +// 'udp-multicast-membership' |
|
| +// 'resolve-host' |
|
| +// 'resolve-proxy' |
|
| +// 'network-state'
|
| // <host> := '*' |
|
| // '*.' <anychar except '/' and '*'>+ |
|
| // <anychar except '/' and '*'>+
|
| @@ -55,6 +59,9 @@ class SocketPermissionData {
|
| // Populate |this| from a base::Value.
|
| bool FromValue(const base::Value* value);
|
|
|
| + // Returns true if the permission type can be bound to a host or port.
|
| + bool IsAddressBoundType() const;
|
| +
|
| HostType GetHostType() const;
|
| const std::string GetHost() const;
|
|
|
|
|