summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/chrome_net_log_helper.h
blob: 6e1d90b30062ca4b3cd16f7cfced230bcdf5ab70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_NET_CHROME_NET_LOG_HELPER_H_
#define CHROME_BROWSER_NET_CHROME_NET_LOG_HELPER_H_

#include "net/log/net_log_capture_mode.h"

namespace base {
class CommandLine;
}

// Returns the capture mode to be used with the net log.
net::NetLogCaptureMode GetNetCaptureModeFromCommandLine(
    const base::CommandLine& command_line);

#endif  // CHROME_BROWSER_NET_CHROME_NET_LOG_HELPER_H_