Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: dbus/string_util.h

Issue 10502011: Explicitly CHECK arguments in dbus::MessageWriter::AppendString/ObjectPath (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix wording Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « dbus/object_path.cc ('k') | dbus/string_util.cc » ('j') | dbus/string_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698