[email protected] | 43fa5b8 | 2012-06-05 04:15:50 | [diff] [blame] | 1 | // Copyright (c) 2012 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 DBUS_STRING_UTIL_H_ | ||||
6 | #define DBUS_STRING_UTIL_H_ | ||||
[email protected] | 43fa5b8 | 2012-06-05 04:15:50 | [diff] [blame] | 7 | |
8 | #include <string> | ||||
9 | |||||
[email protected] | e302446 | 2012-11-05 01:56:14 | [diff] [blame] | 10 | #include "dbus/dbus_export.h" |
11 | |||||
[email protected] | 43fa5b8 | 2012-06-05 04:15:50 | [diff] [blame] | 12 | namespace dbus { |
13 | |||||
14 | // Returns true if the specified string is a valid object path. | ||||
[email protected] | e302446 | 2012-11-05 01:56:14 | [diff] [blame] | 15 | CHROME_DBUS_EXPORT bool IsValidObjectPath(const std::string& value); |
[email protected] | 43fa5b8 | 2012-06-05 04:15:50 | [diff] [blame] | 16 | |
17 | } // namespace dbus | ||||
18 | |||||
19 | #endif // DBUS_STRING_UTIL_H_ |