diff options
Diffstat (limited to 'chrome/common/switch_utils.h')
-rw-r--r-- | chrome/common/switch_utils.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/common/switch_utils.h b/chrome/common/switch_utils.h new file mode 100644 index 0000000..3c9088b --- /dev/null +++ b/chrome/common/switch_utils.h @@ -0,0 +1,22 @@ +// 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_ +#pragma once + +#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, CommandLine::StringType>* switches); + +} // namespace switches + +#endif // CHROME_COMMON_SWITCH_UTILS_H_ |