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

Unified Diff: mojo/shell/background/background_shell.cc

Issue 1770533002: Change userid from a uint32_t to a string guid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@33connector
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 | « mojo/services/network/network_service_delegate.cc ('k') | mojo/shell/connect_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/background/background_shell.cc
diff --git a/mojo/shell/background/background_shell.cc b/mojo/shell/background/background_shell.cc
index 02a750bc6ad9c11391732ed53cd47a381f7c4132..1d31de7efd3949eda5086fa18ab771063f5fe066 100644
--- a/mojo/shell/background/background_shell.cc
+++ b/mojo/shell/background/background_shell.cc
@@ -178,8 +178,7 @@ void BackgroundShell::Init(scoped_ptr<InitParams> init_params) {
mojom::ShellClientRequest BackgroundShell::CreateShellClientRequest(
const std::string& name) {
scoped_ptr<ConnectParams> params(new ConnectParams);
- params->set_target(Identity(name, std::string(),
- mojom::Connector::kUserRoot));
+ params->set_target(Identity(name, std::string(), mojom::kRootUserID));
mojom::ShellClientRequest request;
base::WaitableEvent signal(true, false);
thread_->message_loop()->task_runner()->PostTask(
« no previous file with comments | « mojo/services/network/network_service_delegate.cc ('k') | mojo/shell/connect_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698