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

Unified Diff: mojo/common/test/multiprocess_test_base.h

Issue 134373005: Mojo: Refactor PlatformChannel stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/common/test/multiprocess_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/test/multiprocess_test_base.h
diff --git a/mojo/common/test/multiprocess_test_base.h b/mojo/common/test/multiprocess_test_base.h
index c983df23ee71c77a053ce31b61c0e83e1a08aeb0..9729191ed744bbf551f5bfe0ace28f0da1d9765b 100644
--- a/mojo/common/test/multiprocess_test_base.h
+++ b/mojo/common/test/multiprocess_test_base.h
@@ -40,15 +40,17 @@ class MultiprocessTestBase : public base::MultiProcessTest {
static void ChildSetup();
// For use in the main process:
- scoped_ptr<system::PlatformServerChannel> platform_server_channel;
+ scoped_ptr<system::PlatformChannel> server_platform_channel;
// For use (and only valid) in the child process:
- static scoped_ptr<system::PlatformClientChannel> platform_client_channel;
+ static scoped_ptr<system::PlatformChannel> client_platform_channel;
private:
virtual CommandLine MakeCmdLine(const std::string& procname,
bool debug_on_start) OVERRIDE;
+ scoped_ptr<system::PlatformChannelPair> platform_channel_pair_;
+
// Valid after |StartChild()| and before |WaitForChildShutdown()|.
base::ProcessHandle test_child_handle_;
« no previous file with comments | « no previous file | mojo/common/test/multiprocess_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698