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

Side by Side Diff: services/service_manager/public/cpp/names.h

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_SHELL_PUBLIC_CPP_NAMES_H_ 5 #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_NAMES_H_
6 #define SERVICES_SHELL_PUBLIC_CPP_NAMES_H_ 6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_NAMES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace shell { 10 namespace shell {
11 11
12 extern const char kNameType_Service[]; 12 extern const char kNameType_Service[];
13 extern const char kNameType_Exe[]; 13 extern const char kNameType_Exe[];
14 14
15 // Services are identified by structured "names", of the form: 15 // Services are identified by structured "names", of the form:
16 // 16 //
(...skipping 26 matching lines...) Expand all
43 bool IsValidName(const std::string& name); 43 bool IsValidName(const std::string& name);
44 44
45 // Get the type component of the specified name. 45 // Get the type component of the specified name.
46 std::string GetNameType(const std::string& name); 46 std::string GetNameType(const std::string& name);
47 47
48 // Get the path component of the specified name. 48 // Get the path component of the specified name.
49 std::string GetNamePath(const std::string& name); 49 std::string GetNamePath(const std::string& name);
50 50
51 } // namespace shell 51 } // namespace shell
52 52
53 #endif // SERVICES_SHELL_PUBLIC_CPP_NAMES_H_ 53 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_NAMES_H_
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/lib/service_test.cc ('k') | services/service_manager/public/cpp/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698