Chromium Code Reviews| Index: third_party/WebKit/Source/build/scripts/name_utilities.py |
| diff --git a/third_party/WebKit/Source/build/scripts/name_utilities.py b/third_party/WebKit/Source/build/scripts/name_utilities.py |
| index ca3fa3aac820ae7fcef379af04a6c0a29e4d0b64..cd4dad7997dbf9d9a72829fe8c41cce744b164d8 100644 |
| --- a/third_party/WebKit/Source/build/scripts/name_utilities.py |
| +++ b/third_party/WebKit/Source/build/scripts/name_utilities.py |
| @@ -153,3 +153,11 @@ def class_member_name(name): |
| def method_name(name): |
| return lower_camel_case(name) |
| + |
| + |
| +def join_name(*names): |
| + """Given a list of names, join them into a single space-separated name.""" |
| + result = [] |
| + for name in names: |
| + result.extend(split_name(name)) |
| + return ' '.join(result) |
|
Bugs Nash
2017/03/30 01:39:34
why is the result space separated? wouldn't that b
|