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

Side by Side Diff: mash/login/login.h

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 unified diff | Download patch
« no previous file with comments | « mash/init/public/interfaces/login.mojom ('k') | mash/login/login.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MASH_LOGIN_LOGIN_H_ 5 #ifndef MASH_LOGIN_LOGIN_H_
6 #define MASH_LOGIN_LOGIN_H_ 6 #define MASH_LOGIN_LOGIN_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 12 matching lines...) Expand all
23 class Login : public mojo::ShellClient { 23 class Login : public mojo::ShellClient {
24 public: 24 public:
25 Login(); 25 Login();
26 ~Login() override; 26 ~Login() override;
27 27
28 init::mojom::Login* login() { return login_.get(); } 28 init::mojom::Login* login() { return login_.get(); }
29 29
30 private: 30 private:
31 // mojo::ShellClient: 31 // mojo::ShellClient:
32 void Initialize(mojo::Connector* connector, const std::string& url, 32 void Initialize(mojo::Connector* connector, const std::string& url,
33 uint32_t id, uint32_t user_id) override; 33 const std::string& user_id, uint32_t id) override;
34 bool AcceptConnection(mojo::Connection* connection) override; 34 bool AcceptConnection(mojo::Connection* connection) override;
35 35
36 mojo::TracingImpl tracing_; 36 mojo::TracingImpl tracing_;
37 scoped_ptr<views::AuraInit> aura_init_; 37 scoped_ptr<views::AuraInit> aura_init_;
38 init::mojom::LoginPtr login_; 38 init::mojom::LoginPtr login_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(Login); 40 DISALLOW_COPY_AND_ASSIGN(Login);
41 }; 41 };
42 42
43 } // namespace login 43 } // namespace login
44 } // namespace mash 44 } // namespace mash
45 45
46 #endif // MASH_LOGIN_LOGIN_H_ 46 #endif // MASH_LOGIN_LOGIN_H_
OLDNEW
« no previous file with comments | « mash/init/public/interfaces/login.mojom ('k') | mash/login/login.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698