blob: e3b92c601b9a94c447e4c3115aa4cee989eab6a7 [file] [log] [blame]
[email protected]a9813302012-04-28 09:29:281// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]2612834232010-05-14 21:52:362// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
6#define NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_
7
Avi Drissman13fc8932015-12-20 04:40:468#include <stdint.h>
9
[email protected]2612834232010-05-14 21:52:3610#include <string>
11
[email protected]172da1b2011-08-12 15:52:2612#include "net/base/net_export.h"
[email protected]0c952052010-07-13 18:01:5013#include "net/base/request_priority.h"
eroman87c53d62015-04-02 06:51:0714#include "net/log/net_log.h"
[email protected]2612834232010-05-14 21:52:3615
[email protected]3abacd62012-06-10 20:20:3216class GURL;
17
18namespace base {
19class Value;
20}
21
[email protected]4cc647d2010-12-17 22:46:4122namespace net {
23
[email protected]3abacd62012-06-10 20:20:3224// Returns a Value containing NetLog parameters for starting a URLRequest.
danakj8522a25b2016-04-16 00:17:3625NET_EXPORT std::unique_ptr<base::Value> NetLogURLRequestStartCallback(
[email protected]3abacd62012-06-10 20:20:3226 const GURL* url,
27 const std::string* method,
28 int load_flags,
29 RequestPriority priority,
Avi Drissman13fc8932015-12-20 04:40:4630 int64_t upload_id,
eroman001c3742015-04-23 03:11:1731 NetLogCaptureMode /* capture_mode */);
[email protected]2612834232010-05-14 21:52:3632
[email protected]4cc647d2010-12-17 22:46:4133} // namespace net
34
[email protected]2612834232010-05-14 21:52:3635#endif // NET_URL_REQUEST_URL_REQUEST_NETLOG_PARAMS_H_