OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_DOM_OPTIONS_UTIL_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_DOM_OPTIONS_UTIL_H_ |
6 #define CHROME_BROWSER_DOM_UI_OPTIONS_DOM_OPTIONS_UTIL_H_ | 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_DOM_OPTIONS_UTIL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/string16.h" | 9 #include "chrome/browser/webui/options/dom_options_util.h" |
10 | 10 // TODO(tfarina): remove this file once all includes have been updated. |
11 namespace dom_options_util { | |
12 | |
13 // Strips the trailing colon from a string. Used to remove the colon from | |
14 // section titles on platforms that append it. | |
15 // TODO(jhawkins): Remove this once the platform-specific options dialogs are | |
16 // removed. | |
17 string16 StripColon(const string16& str); | |
18 | |
19 } // namespace options_util | |
20 | 11 |
21 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_DOM_OPTIONS_UTIL_H_ | 12 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_DOM_OPTIONS_UTIL_H_ |
OLD | NEW |