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

Unified Diff: net/url_request/url_request_netlog_params.h

Issue 2579933002: Add logging for ResourceScheduler events. (Closed)
Patch Set: Created 4 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: net/url_request/url_request_netlog_params.h
diff --git a/net/url_request/url_request_netlog_params.h b/net/url_request/url_request_netlog_params.h
index a42ca3f3bc965ed8ef223399fad1a9d1b3bbe7d3..2d672f5767cfa009774682150bd6abbde173ba62 100644
--- a/net/url_request/url_request_netlog_params.h
+++ b/net/url_request/url_request_netlog_params.h
@@ -23,12 +23,17 @@ namespace net {
class NetLogCaptureMode;
+// Returns a Value containing NetLog parameters for constructing a URLRequest.
+NET_EXPORT std::unique_ptr<base::Value> NetLogURLRequestConstructorCallback(
+ const GURL* url,
+ RequestPriority priority,
+ NetLogCaptureMode /* capture_mode */);
+
// Returns a Value containing NetLog parameters for starting a URLRequest.
NET_EXPORT std::unique_ptr<base::Value> NetLogURLRequestStartCallback(
const GURL* url,
const std::string* method,
int load_flags,
- RequestPriority priority,
int64_t upload_id,
NetLogCaptureMode /* capture_mode */);

Powered by Google App Engine
This is Rietveld 408576698