| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_CHILD_RUNTIME_FEATURES_H_ | 5 #ifndef CHROME_BROWSER_NET_CHROME_NET_LOG_HELPER_H_ |
| 6 #define CONTENT_CHILD_RUNTIME_FEATURES_H_ | 6 #define CHROME_BROWSER_NET_CHROME_NET_LOG_HELPER_H_ |
| 7 |
| 8 #include "net/log/net_log_capture_mode.h" |
| 7 | 9 |
| 8 namespace base { | 10 namespace base { |
| 9 class CommandLine; | 11 class CommandLine; |
| 10 } | 12 } |
| 11 | 13 |
| 12 namespace content { | 14 // Returns the capture mode to be used with the net log. |
| 13 | 15 net::NetLogCaptureMode GetNetCaptureModeFromCommandLine( |
| 14 void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( | |
| 15 const base::CommandLine& command_line); | 16 const base::CommandLine& command_line); |
| 16 | 17 |
| 17 } // namespace content | 18 #endif // CHROME_BROWSER_NET_CHROME_NET_LOG_HELPER_H_ |
| 18 | |
| 19 #endif // CONTENT_CHILD_RUNTIME_FEATURES_H_ | |
| OLD | NEW |