Lines Matching full:identifier
58 struct Identifier {
59 Identifier() {}
60 explicit Identifier(const std::string& i) : identifier(i) {}
61 Identifier(const std::string& u, const std::string& i)
63 identifier(i) {
66 std::string identifier;
77 const Identifier& name,
169 // Parses a profile identifier. There're two acceptable forms of the |raw|
170 // identifier: "identifier" and "~user/identifier". Both "user" and
171 // "identifier" must be suitable for use in a D-Bus object path. Returns true
173 static bool ParseIdentifier(const std::string& raw, Identifier* parsed);
175 // Returns the composite string identifier for a profile, as would have
177 // profile. It returns a string in the form "identifier", or
178 // "~user/identifier" depending on whether this profile has a user
180 static std::string IdentifierToString(const Identifier& name);
184 static std::vector<Identifier> LoadUserProfileList(
193 virtual bool MatchesIdentifier(const Identifier& name) const;
195 // Returns the username component of the profile identifier.
198 // Returns the user_hash component of the profile identifier.
219 const Identifier& profile_name);
258 Identifier name_;