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

Side by Side Diff: chrome/test/base/mojo_test_connector.h

Issue 2813293003: Fix Mash Browser Test Startup Race (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | chrome/test/base/mojo_test_connector.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 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 std::unique_ptr<content::TestState> PrepareForTest( 51 std::unique_ptr<content::TestState> PrepareForTest(
52 base::CommandLine* command_line, 52 base::CommandLine* command_line,
53 base::TestLauncher::LaunchOptions* test_launch_options); 53 base::TestLauncher::LaunchOptions* test_launch_options);
54 54
55 private: 55 private:
56 class ServiceProcessLauncherDelegateImpl; 56 class ServiceProcessLauncherDelegateImpl;
57 57
58 std::unique_ptr<ServiceProcessLauncherDelegateImpl> 58 std::unique_ptr<ServiceProcessLauncherDelegateImpl>
59 service_process_launcher_delegate_; 59 service_process_launcher_delegate_;
60 service_manager::BackgroundServiceManager background_service_manager_; 60 std::unique_ptr<service_manager::BackgroundServiceManager>
61 background_service_manager_;
61 62
62 std::unique_ptr<base::Thread> ipc_thread_; 63 std::unique_ptr<base::Thread> ipc_thread_;
63 std::unique_ptr<mojo::edk::ScopedIPCSupport> ipc_support_; 64 std::unique_ptr<mojo::edk::ScopedIPCSupport> ipc_support_;
64 65
66 std::unique_ptr<base::Value> catalog_contents_;
67
65 DISALLOW_COPY_AND_ASSIGN(MojoTestConnector); 68 DISALLOW_COPY_AND_ASSIGN(MojoTestConnector);
66 }; 69 };
67 70
68 #endif // CHROME_TEST_BASE_MOJO_TEST_CONNECTOR_H_ 71 #endif // CHROME_TEST_BASE_MOJO_TEST_CONNECTOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/test/base/mojo_test_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698