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

Unified Diff: mojo/shell/public/cpp/shell.h

Issue 1719193003: Add a user id parameter to connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/public/cpp/lib/shell_connection.cc ('k') | mojo/shell/public/cpp/shell_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/shell.h
diff --git a/mojo/shell/public/cpp/shell.h b/mojo/shell/public/cpp/shell.h
index 3b12cc932e3fb0063dfea8337cf3113f2be79f8f..f513f40d35a0f9425bd99833acec95311488e0ca 100644
--- a/mojo/shell/public/cpp/shell.h
+++ b/mojo/shell/public/cpp/shell.h
@@ -47,10 +47,13 @@ class Shell {
void set_filter(shell::mojom::CapabilityFilterPtr filter) {
filter_ = std::move(filter);
}
+ void set_user_id(uint32_t user_id) { user_id_ = user_id; }
+ uint32_t user_id() const { return user_id_; }
private:
GURL url_;
shell::mojom::CapabilityFilterPtr filter_;
+ uint32_t user_id_;
DISALLOW_COPY_AND_ASSIGN(ConnectParams);
};
« no previous file with comments | « mojo/shell/public/cpp/lib/shell_connection.cc ('k') | mojo/shell/public/cpp/shell_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698