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

Side by Side Diff: net/http/http_request_info.h

Issue 6698009: Add request_id to HttpRequestInfo and pass it to the NetworkDelegate for events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delegate callbcak Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_REQUEST_INFO_H__ 5 #ifndef NET_HTTP_HTTP_REQUEST_INFO_H__
6 #define NET_HTTP_HTTP_REQUEST_INFO_H__ 6 #define NET_HTTP_HTTP_REQUEST_INFO_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 scoped_refptr<UploadData> upload_data; 45 scoped_refptr<UploadData> upload_data;
46 46
47 // Any load flags (see load_flags.h). 47 // Any load flags (see load_flags.h).
48 int load_flags; 48 int load_flags;
49 49
50 // The priority level for this request. 50 // The priority level for this request.
51 RequestPriority priority; 51 RequestPriority priority;
52 52
53 // The motivation behind this request. 53 // The motivation behind this request.
54 RequestMotivation motivation; 54 RequestMotivation motivation;
55
56 // An optional globally unique identifier for this request for use by the
57 // consumer. 0 is invalid.
58 uint64 request_id;
55 }; 59 };
56 60
57 } // namespace net 61 } // namespace net
58 62
59 #endif // NET_HTTP_HTTP_REQUEST_INFO_H__ 63 #endif // NET_HTTP_HTTP_REQUEST_INFO_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698