blob: 60c02d17418e00b6c6b48621f777e9ddaa80c627 [file] [log] [blame]
hashimoto@chromium.org5fdbcf72012-06-05 13:15:50 +09001// 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_
hashimoto@chromium.org5fdbcf72012-06-05 13:15:50 +09007
8#include <string>
9
tfarina@chromium.org7928ea22012-11-05 10:56:14 +090010#include "dbus/dbus_export.h"
11
hashimoto@chromium.org5fdbcf72012-06-05 13:15:50 +090012namespace dbus {
13
14// Returns true if the specified string is a valid object path.
tfarina@chromium.org7928ea22012-11-05 10:56:14 +090015CHROME_DBUS_EXPORT bool IsValidObjectPath(const std::string& value);
hashimoto@chromium.org5fdbcf72012-06-05 13:15:50 +090016
17} // namespace dbus
18
19#endif // DBUS_STRING_UTIL_H_