OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "mojo/shell/public/cpp/shell_client.h" | 5 #include "services/shell/public/cpp/shell_client.h" |
6 | 6 |
7 namespace mojo { | 7 namespace mojo { |
8 | 8 |
9 ShellClient::ShellClient() {} | 9 ShellClient::ShellClient() {} |
10 ShellClient::~ShellClient() {} | 10 ShellClient::~ShellClient() {} |
11 | 11 |
12 void ShellClient::Initialize(Connector* connector, const Identity& identity, | 12 void ShellClient::Initialize(Connector* connector, const Identity& identity, |
13 uint32_t id) { | 13 uint32_t id) { |
14 } | 14 } |
15 | 15 |
16 bool ShellClient::AcceptConnection(Connection* connection) { | 16 bool ShellClient::AcceptConnection(Connection* connection) { |
17 return false; | 17 return false; |
18 } | 18 } |
19 | 19 |
20 bool ShellClient::ShellConnectionLost() { return true; } | 20 bool ShellClient::ShellConnectionLost() { return true; } |
21 | 21 |
22 } // namespace mojo | 22 } // namespace mojo |
OLD | NEW |