| OLD | NEW |
| 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 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 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 mojo::Identity& identity, |
| 33 const std::string& user_id, uint32_t id) override; | 33 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_ |
| OLD | NEW |