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

Side by Side Diff: services/service_manager/public/cpp/identity.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_IDENTITY_H_ 5 #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_IDENTITY_H_
6 #define SERVICES_SHELL_PUBLIC_CPP_IDENTITY_H_ 6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_IDENTITY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace shell { 10 namespace shell {
11 11
12 // Represents the identity of an application. 12 // Represents the identity of an application.
13 // |name| is the structured name of the application. 13 // |name| is the structured name of the application.
14 // |instance| is a string that allows to tie a specific instance to another. A 14 // |instance| is a string that allows to tie a specific instance to another. A
15 // typical use case of instance is to control process grouping for a given name. 15 // typical use case of instance is to control process grouping for a given name.
16 class Identity { 16 class Identity {
(...skipping 17 matching lines...) Expand all
34 const std::string& instance() const { return instance_; } 34 const std::string& instance() const { return instance_; }
35 35
36 private: 36 private:
37 std::string name_; 37 std::string name_;
38 std::string user_id_; 38 std::string user_id_;
39 std::string instance_; 39 std::string instance_;
40 }; 40 };
41 41
42 } // namespace shell 42 } // namespace shell
43 43
44 #endif // SERVICES_SHELL_PUBLIC_CPP_IDENTITY_H_ 44 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_IDENTITY_H_
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/connector.h ('k') | services/service_manager/public/cpp/identity.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698