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

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

Issue 137273003: Mojo: Rename PlatformChannelHandle to PlatformHandle, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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 d86c61aee5715593e14a994ba077faa6e3105d17..9b233f0ada6b2462b437df76235fa83fc2ad1d06 100644
--- a/mojo/common/test/multiprocess_test_base.h
+++ b/mojo/common/test/multiprocess_test_base.h
@@ -11,12 +11,12 @@
#include "base/compiler_specific.h"
#include "base/process/process_handle.h"
#include "base/test/multiprocess_test.h"
+#include "mojo/system/scoped_platform_handle.h"
#include "testing/multiprocess_func_list.h"
namespace mojo {
namespace system {
-class PlatformChannel;
class PlatformChannelPair;
}
@@ -45,10 +45,10 @@ class MultiprocessTestBase : public base::MultiProcessTest {
static void ChildSetup();
// For use in the main process:
- scoped_ptr<system::PlatformChannel> server_platform_channel;
+ system::ScopedPlatformHandle server_platform_handle;
// For use (and only valid) in the child process:
- static scoped_ptr<system::PlatformChannel> client_platform_channel;
+ static system::ScopedPlatformHandle client_platform_handle;
private:
virtual CommandLine MakeCmdLine(const std::string& procname,
« 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