Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2631)

Unified Diff: chrome/browser/permissions/permission_request_id.h

Issue 1316863010: browser: implement multiple permission requesting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@request-multiple-content
Patch Set: Rebase on master Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/permissions/permission_request_id.h
diff --git a/chrome/browser/permissions/permission_request_id.h b/chrome/browser/permissions/permission_request_id.h
index 25da709342b8853e953dd8ba5a63e51566186c3f..557d5a2867e6064af9d54876b70ab6dbc60282e1 100644
--- a/chrome/browser/permissions/permission_request_id.h
+++ b/chrome/browser/permissions/permission_request_id.h
@@ -9,6 +9,10 @@
#include "url/gurl.h"
+namespace content {
+class RenderFrameHost;
+} // namespace content
+
// Uniquely identifies a particular permission request.
// None of the different attributes (render_process_id, render_frame_id or
// request_id) is enough to compare two requests. In order to check if
@@ -16,6 +20,8 @@
// the operator== or operator!=.
class PermissionRequestID {
public:
+ PermissionRequestID(content::RenderFrameHost* render_frame_host,
+ int request_id);
PermissionRequestID(int render_process_id,
int render_frame_id,
int request_id);
« no previous file with comments | « chrome/browser/permissions/permission_manager.cc ('k') | chrome/browser/permissions/permission_request_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698