| 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 <utility> | 5 #include <utility> |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 g_id = id; | 50 g_id = id; |
| 51 g_shell_client_request = binding_.Unbind(); | 51 g_shell_client_request = binding_.Unbind(); |
| 52 g_connector = std::move(connector); | 52 g_connector = std::move(connector); |
| 53 } | 53 } |
| 54 | 54 |
| 55 void AcceptConnection( | 55 void AcceptConnection( |
| 56 shell::mojom::IdentityPtr source, | 56 shell::mojom::IdentityPtr source, |
| 57 uint32_t source_id, | 57 uint32_t source_id, |
| 58 shell::mojom::InterfaceProviderRequest local_interfaces, | 58 shell::mojom::InterfaceProviderRequest local_interfaces, |
| 59 shell::mojom::InterfaceProviderPtr remote_interfaces, | 59 shell::mojom::InterfaceProviderPtr remote_interfaces, |
| 60 Array<String> allowed_interfaces, | 60 shell::mojom::CapabilityRequestPtr capability_spec, |
| 61 const String& name) override { | 61 const String& name) override { |
| 62 CHECK(false); | 62 CHECK(false); |
| 63 } | 63 } |
| 64 | 64 |
| 65 Binding<ShellClient> binding_; | 65 Binding<ShellClient> binding_; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace | 68 } // namespace |
| 69 | 69 |
| 70 MojoResult RunAllTests(MojoHandle shell_client_request_handle) { | 70 MojoResult RunAllTests(MojoHandle shell_client_request_handle) { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 CHECK(!base::MessageLoop::current()); | 164 CHECK(!base::MessageLoop::current()); |
| 165 } | 165 } |
| 166 } | 166 } |
| 167 | 167 |
| 168 bool ApplicationTestBase::ShouldCreateDefaultRunLoop() { | 168 bool ApplicationTestBase::ShouldCreateDefaultRunLoop() { |
| 169 return true; | 169 return true; |
| 170 } | 170 } |
| 171 | 171 |
| 172 } // namespace test | 172 } // namespace test |
| 173 } // namespace mojo | 173 } // namespace mojo |
| OLD | NEW |