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

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

Issue 6532073: Move core pieces of browser\renderer_host to src\content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/renderer_host/global_request_id.h
===================================================================
--- chrome/browser/renderer_host/global_request_id.h (revision 75488)
+++ chrome/browser/renderer_host/global_request_id.h (working copy)
@@ -6,27 +6,7 @@
#define CHROME_BROWSER_RENDERER_HOST_GLOBAL_REQUEST_ID_H_
#pragma once
-// Uniquely identifies a net::URLRequest.
-struct GlobalRequestID {
- GlobalRequestID() : child_id(-1), request_id(-1) {
- }
+// TODO(jam): remove this file when all files have been converted.
+#include "content/browser/renderer_host/global_request_id.h"
- GlobalRequestID(int child_id, int request_id)
- : child_id(child_id),
- request_id(request_id) {
- }
-
- // The unique ID of the child process (different from OS's PID).
- int child_id;
-
- // The request ID (unique for the child).
- int request_id;
-
- bool operator<(const GlobalRequestID& other) const {
- if (child_id == other.child_id)
- return request_id < other.request_id;
- return child_id < other.child_id;
- }
-};
-
#endif // CHROME_BROWSER_RENDERER_HOST_GLOBAL_REQUEST_ID_H_

Powered by Google App Engine
This is Rietveld 408576698