OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_NETWORK_SESSION_CONFIGURATOR_COMMON_NETWORK_SWITCHES_H_ |
| 6 #define COMPONENTS_NETWORK_SESSION_CONFIGURATOR_COMMON_NETWORK_SWITCHES_H_ |
| 7 |
| 8 namespace base { |
| 9 class CommandLine; |
| 10 } |
| 11 |
| 12 namespace switches { |
| 13 |
| 14 #define NETWORK_SWITCH(name, value) extern const char name[]; |
| 15 #include "components/network_session_configurator/common/network_switch_list.h" |
| 16 #undef NETWORK_SWITCH |
| 17 |
| 18 } // namespace switches |
| 19 |
| 20 namespace network_session_configurator { |
| 21 |
| 22 // Copies all command line switches the configurator handles from the |src| |
| 23 // CommandLine to the |dest| one. |
| 24 void CopyNetworkSwitches(const base::CommandLine& src_command_line, |
| 25 base::CommandLine* dest_command_line); |
| 26 |
| 27 } // namespace network_session_configurator |
| 28 |
| 29 #endif // COMPONENTS_NETWORK_SESSION_CONFIGURATOR_COMMON_NETWORK_SWITCHES_H_ |
OLD | NEW |