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

Side by Side Diff: components/network_session_configurator/common/network_switches.h

Issue 2914893002: Move some of IOThread's command line logic to network_session_configurator. (Closed)
Patch Set: Fix merge Created 3 years, 6 months 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698