| Index: chrome/browser/dom_ui/options/dom_options_util.h
|
| diff --git a/chrome/browser/dom_ui/options/dom_options_util.h b/chrome/browser/dom_ui/options/dom_options_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9cbac3908846aec293a96432701a8e36fa0eb603
|
| --- /dev/null
|
| +++ b/chrome/browser/dom_ui/options/dom_options_util.h
|
| @@ -0,0 +1,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_BROWSER_DOM_UI_OPTIONS_DOM_OPTIONS_UTIL_H_
|
| +#define CHROME_BROWSER_DOM_UI_OPTIONS_DOM_OPTIONS_UTIL_H_
|
| +#pragma once
|
| +
|
| +#include "base/string16.h"
|
| +
|
| +namespace dom_options_util {
|
| +
|
| +// Strips the trailing colon from a string. Used to remove the colon from
|
| +// section titles on platforms that append it.
|
| +// TODO(jhawkins): Remove this once the platform-specific options dialogs are
|
| +// removed.
|
| +string16 StripColon(const string16& str);
|
| +
|
| +} // namespace options_util
|
| +
|
| +#endif // CHROME_BROWSER_DOM_UI_OPTIONS_DOM_OPTIONS_UTIL_H_
|
|
|