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

Unified Diff: mojo/shell/public/cpp/lib/names.cc

Issue 1828803002: Simplify resolve. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@61catalog
Patch Set: . Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/catalog/reader.cc ('k') | mojo/shell/public/cpp/names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/lib/names.cc
diff --git a/mojo/shell/public/cpp/lib/names.cc b/mojo/shell/public/cpp/lib/names.cc
index e669229d88b5b29df301509d43862bd659ee0887..971e8aae835184c5250b0a7a9c2e8e49d77f278c 100644
--- a/mojo/shell/public/cpp/lib/names.cc
+++ b/mojo/shell/public/cpp/lib/names.cc
@@ -9,6 +9,9 @@
namespace mojo {
+const char kNameType_Mojo[] = "mojo";
+const char kNameType_Exe[] = "exe";
+
bool IsValidName(const std::string& name) {
std::vector<std::string> parts =
base::SplitString(name, ":", base::KEEP_WHITESPACE,
« no previous file with comments | « mojo/services/catalog/reader.cc ('k') | mojo/shell/public/cpp/names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698