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

Unified Diff: mojo/shell/tests/shell/driver.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/shell/tests/loader_unittest.cc ('k') | mojo/shell/tests/shell/target.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/tests/shell/driver.cc
diff --git a/mojo/shell/tests/shell/driver.cc b/mojo/shell/tests/shell/driver.cc
index d8ea10f7db46ae00584331cb05dc0c5f6ddf553b..c7dc2813503db44ee5c5a62ca6992b55698508e6 100644
--- a/mojo/shell/tests/shell/driver.cc
+++ b/mojo/shell/tests/shell/driver.cc
@@ -45,7 +45,7 @@ class Driver : public mojo::ShellClient,
private:
// mojo::ShellClient:
void Initialize(mojo::Connector* connector, const std::string& name,
- uint32_t id, uint32_t user_id) override {
+ const std::string& user_id, uint32_t id) override {
base::FilePath target_path;
CHECK(base::PathService::Get(base::DIR_EXE, &target_path));
#if defined(OS_WIN)
@@ -100,7 +100,7 @@ class Driver : public mojo::ShellClient,
connector->ConnectToInterface("mojo:shell", &shell);
shell->CreateInstanceForFactory(std::move(factory),
"exe:shell_unittest_target",
- mojo::shell::mojom::Connector::kUserInherit,
+ mojo::shell::mojom::kInheritUserID,
std::move(filter), std::move(request));
base::LaunchOptions options;
« no previous file with comments | « mojo/shell/tests/loader_unittest.cc ('k') | mojo/shell/tests/shell/target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698