summaryrefslogtreecommitdiffstats
path: root/chrome/common/switch_utils.h
blob: df91b2d5679ce7a1c0843f7bebf3a5012fc4e3de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2010 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_COMMON_SWITCH_UTILS_H_
#define CHROME_COMMON_SWITCH_UTILS_H_

#include <map>
#include <string>

#include "base/command_line.h"

namespace switches {

// Remove the keys that we shouldn't pass through during restart.
void RemoveSwitchesForAutostart(
    std::map<std::string, base::CommandLine::StringType>* switches);

}  // namespace switches

#endif  // CHROME_COMMON_SWITCH_UTILS_H_