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

Unified Diff: mash/screenlock/screenlock.cc

Issue 1769163002: Add a instance groups to Connect(), and introduce an Identity struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 | « mash/screenlock/screenlock.h ('k') | mash/shell/shell_application_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/screenlock/screenlock.cc
diff --git a/mash/screenlock/screenlock.cc b/mash/screenlock/screenlock.cc
index 42f2b0453f3f9871170137726b585b2c33925734..60f6f1ea3d6fc4b6e18d2afc91889ff2f08834a9 100644
--- a/mash/screenlock/screenlock.cc
+++ b/mash/screenlock/screenlock.cc
@@ -75,9 +75,10 @@ class ScreenlockView : public views::WidgetDelegateView,
Screenlock::Screenlock() {}
Screenlock::~Screenlock() {}
-void Screenlock::Initialize(mojo::Connector* connector, const std::string& url,
- const std::string& user_id, uint32_t id) {
- tracing_.Initialize(connector, url);
+void Screenlock::Initialize(mojo::Connector* connector,
+ const mojo::Identity& identity,
+ uint32_t id) {
+ tracing_.Initialize(connector, identity.name());
mash::shell::mojom::ShellPtr mash_shell;
connector->ConnectToInterface("mojo:mash_shell", &mash_shell);
« no previous file with comments | « mash/screenlock/screenlock.h ('k') | mash/shell/shell_application_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698