Index: content/browser/renderer_host/global_request_id.h |
diff --git a/content/browser/renderer_host/global_request_id.h b/content/browser/renderer_host/global_request_id.h |
index 031026f0ea895c4a66215a84ef005fd67c71cbf7..0f6db6f1df00435d786675b3444f6c80b06b86fa 100644 |
--- a/content/browser/renderer_host/global_request_id.h |
+++ b/content/browser/renderer_host/global_request_id.h |
@@ -27,6 +27,14 @@ struct GlobalRequestID { |
return request_id < other.request_id; |
return child_id < other.child_id; |
} |
+ bool operator==(const GlobalRequestID& other) const { |
+ return child_id == other.child_id && |
+ request_id == other.request_id; |
+ } |
+ bool operator!=(const GlobalRequestID& other) const { |
+ return child_id != other.child_id || |
+ request_id != other.request_id; |
+ } |
}; |
#endif // CHROME_BROWSER_RENDERER_HOST_GLOBAL_REQUEST_ID_H_ |