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

Unified Diff: content/browser/renderer_host/global_request_id.h

Issue 8669014: Fix a bug where redirect chain gets lost on process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: conditional disabling Created 9 years 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: 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_

Powered by Google App Engine
This is Rietveld 408576698