| 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 CHROME_TEST_BASE_MOJO_TEST_CONNECTOR_H_ | 5 #ifndef CHROME_TEST_BASE_MOJO_TEST_CONNECTOR_H_ |
| 6 #define CHROME_TEST_BASE_MOJO_TEST_CONNECTOR_H_ | 6 #define CHROME_TEST_BASE_MOJO_TEST_CONNECTOR_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 ~MojoTestConnector(); | 39 ~MojoTestConnector(); |
| 40 | 40 |
| 41 // Initializes the background thread the Shell runs on. | 41 // Initializes the background thread the Shell runs on. |
| 42 shell::mojom::ShellClientRequest Init(); | 42 shell::mojom::ShellClientRequest Init(); |
| 43 | 43 |
| 44 std::unique_ptr<content::TestState> PrepareForTest( | 44 std::unique_ptr<content::TestState> PrepareForTest( |
| 45 base::CommandLine* command_line, | 45 base::CommandLine* command_line, |
| 46 base::TestLauncher::LaunchOptions* test_launch_options); | 46 base::TestLauncher::LaunchOptions* test_launch_options); |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 class NativeRunnerDelegateImpl; | |
| 50 | |
| 51 std::unique_ptr<NativeRunnerDelegateImpl> native_runner_delegate_; | |
| 52 shell::BackgroundShell background_shell_; | 49 shell::BackgroundShell background_shell_; |
| 53 | 50 |
| 54 DISALLOW_COPY_AND_ASSIGN(MojoTestConnector); | 51 DISALLOW_COPY_AND_ASSIGN(MojoTestConnector); |
| 55 }; | 52 }; |
| 56 | 53 |
| 57 #endif // CHROME_TEST_BASE_MOJO_TEST_CONNECTOR_H_ | 54 #endif // CHROME_TEST_BASE_MOJO_TEST_CONNECTOR_H_ |
| OLD | NEW |