Index: mojo/shell/public/cpp/names.h |
diff --git a/mojo/shell/public/cpp/names.h b/mojo/shell/public/cpp/names.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ac9c8ca419d5d5a4bee215fad06f10d5f019eb7f |
--- /dev/null |
+++ b/mojo/shell/public/cpp/names.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2016 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 MOJO_SHELL_PUBLIC_CPP_NAMES_H_ |
+#define MOJO_SHELL_PUBLIC_CPP_NAMES_H_ |
+ |
+#include <string> |
+ |
+namespace mojo { |
+ |
+bool IsValidName(const std::string& name); |
+ |
+std::string GetNameType(const std::string& name); |
+ |
+std::string GetNamePath(const std::string& name); |
+ |
+} // namespace mojo |
+ |
+#endif // MOJO_SHELL_PUBLIC_CPP_NAMES_H_ |