Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <string> | |
| 10 | |
| 11 namespace dbus { | |
| 12 | |
| 13 // Returns true if the specified string is a valid object path. | |
| 14 bool IsStringValidObjectPath(const std::string& string); | |
|
satorux1
2012/06/04 23:29:19
IsValidObjectPath() should suffice.
string -> val
hashimoto
2012/06/05 01:50:29
Done.
| |
| 15 | |
| 16 } // namespace dbus | |
| 17 | |
| 18 #endif // DBUS_STRING_UTIL_H_ | |
| OLD | NEW |