Chromium Code Reviews| Index: chrome/browser/content_settings/permission_request_id.h |
| diff --git a/chrome/browser/content_settings/permission_request_id.h b/chrome/browser/content_settings/permission_request_id.h |
| index 14bc2742ef36c6f38a8afafe13e62010cab02ec8..11d5eb92593bfa34e49b466feb0b1b47d545fe00 100644 |
| --- a/chrome/browser/content_settings/permission_request_id.h |
| +++ b/chrome/browser/content_settings/permission_request_id.h |
| @@ -10,12 +10,16 @@ |
| // Uniquely identifies a particular permission request. |
| class PermissionRequestID { |
| public: |
| - PermissionRequestID(int render_process_id, int render_view_id, int bridge_id); |
| + PermissionRequestID(int render_process_id, |
| + int render_view_id, |
| + int bridge_id, |
| + int group_id); |
| ~PermissionRequestID(); |
| int render_process_id() const { return render_process_id_; } |
| int render_view_id() const { return render_view_id_; } |
| int bridge_id() const { return bridge_id_; } |
| + int group_id() const { return group_id_; } |
| bool Equals(const PermissionRequestID& other) const; |
| bool IsForSameTabAs(const PermissionRequestID& other) const; |
| @@ -25,6 +29,7 @@ class PermissionRequestID { |
| int render_process_id_; |
| int render_view_id_; |
| int bridge_id_; |
| + int group_id_; |
|
xhwang
2013/12/30 19:00:59
You might want to add comments about what a bridge
Kibeom Kim (inactive)
2013/12/30 21:52:24
Done.
|
| // Purposefully do not disable copying, as this is stored in STL containers. |
| }; |