summaryrefslogtreecommitdiffstats
path: root/dbus/string_util.h
blob: b83467e367bae4530ecb64d6d81fb3788a08caea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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_