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

Unified Diff: mojo/shell/identity.cc

Issue 1728083002: Extract a Connector interface from Shell that can be cloned & passed to other threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@12uid
Patch Set: . Created 4 years, 10 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/shell/identity.h ('k') | mojo/shell/public/cpp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/identity.cc
diff --git a/mojo/shell/identity.cc b/mojo/shell/identity.cc
index f592da985dd3d3f88971e447502b1f5842777280..0a4169aa0dcbef923fd7247611a557b8e0bb3c5e 100644
--- a/mojo/shell/identity.cc
+++ b/mojo/shell/identity.cc
@@ -30,7 +30,7 @@ CapabilityFilter CanonicalizeFilter(const CapabilityFilter& filter) {
Identity::Identity() {}
Identity::Identity(const GURL& url)
- : Identity(url, url.spec(), mojom::Shell::kUserRoot) {}
+ : Identity(url, url.spec(), mojom::Connector::kUserRoot) {}
Identity::Identity(const GURL& url, const std::string& qualifier,
uint32_t user_id)
@@ -63,7 +63,7 @@ bool Identity::operator==(const Identity& other) const {
Identity CreateShellIdentity() {
return Identity(GURL("mojo://shell/"), std::string(),
- mojom::Shell::kUserRoot, GetPermissiveCapabilityFilter());
+ mojom::Connector::kUserRoot, GetPermissiveCapabilityFilter());
}
} // namespace shell
« no previous file with comments | « mojo/shell/identity.h ('k') | mojo/shell/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698