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

Unified Diff: mojo/shell/shell.h

Issue 1811483003: Remove support for Root identity singletons and rely on the all_users bit to be set. + test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@54login2
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 | « components/mus/manifest.json ('k') | mojo/shell/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/shell.h
diff --git a/mojo/shell/shell.h b/mojo/shell/shell.h
index 7128a24ff5a8c9b39979eb60522ef25906446a33..8b9f975275c62fb52d69f41cf1d8d0acc802b948 100644
--- a/mojo/shell/shell.h
+++ b/mojo/shell/shell.h
@@ -114,11 +114,9 @@ class Shell : public ShellClient {
// |client| to control it.
void Connect(scoped_ptr<ConnectParams> params, mojom::ShellClientPtr client);
- // Returns a running instance matching |identity|.
+ // Returns a running instance matching |identity|. This might be an instance
+ // running as a different user if one is available that services all users.
Instance* GetExistingInstance(const Identity& identity) const;
- // Like GetExistingInstance, but if no instance for |identity.user_id()| is
- // found, looks for kRootUserID too.
- Instance* GetExistingOrRootInstance(const Identity& identity) const;
void NotifyPIDAvailable(uint32_t id, base::ProcessId pid);
« no previous file with comments | « components/mus/manifest.json ('k') | mojo/shell/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698