diff options
Diffstat (limited to 'dbus/string_util.h')
-rw-r--r-- | dbus/string_util.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dbus/string_util.h b/dbus/string_util.h new file mode 100644 index 0000000..b83467e --- /dev/null +++ b/dbus/string_util.h @@ -0,0 +1,18 @@ +// Copyright (c) 2012 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 DBUS_STRING_UTIL_H_ +#define DBUS_STRING_UTIL_H_ +#pragma once + +#include <string> + +namespace dbus { + +// Returns true if the specified string is a valid object path. +bool IsValidObjectPath(const std::string& value); + +} // namespace dbus + +#endif // DBUS_STRING_UTIL_H_ |