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

Unified Diff: ipc/mojo/ipc_mojo_bootstrap_unittest.cc

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup Created 5 years, 3 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
Index: ipc/mojo/ipc_mojo_bootstrap_unittest.cc
diff --git a/ipc/mojo/ipc_mojo_bootstrap_unittest.cc b/ipc/mojo/ipc_mojo_bootstrap_unittest.cc
index 1c3d7eea44dd573b6c7ff13e05f6196485940d4f..528c23503327b7152bab718dc68d3816151e1d12 100644
--- a/ipc/mojo/ipc_mojo_bootstrap_unittest.cc
+++ b/ipc/mojo/ipc_mojo_bootstrap_unittest.cc
@@ -23,7 +23,8 @@ class TestingDelegate : public IPC::MojoBootstrap::Delegate {
public:
TestingDelegate() : passed_(false) {}
- void OnPipeAvailable(mojo::embedder::ScopedPlatformHandle handle) override;
+ void OnPipeAvailable(mojo::embedder::ScopedPlatformHandle handle,
+ int32 peer_pid) override;
void OnBootstrapError() override;
bool passed() const { return passed_; }
@@ -33,7 +34,8 @@ class TestingDelegate : public IPC::MojoBootstrap::Delegate {
};
void TestingDelegate::OnPipeAvailable(
- mojo::embedder::ScopedPlatformHandle handle) {
+ mojo::embedder::ScopedPlatformHandle handle,
+ int32 peer_pid) {
passed_ = true;
base::MessageLoop::current()->Quit();
}

Powered by Google App Engine
This is Rietveld 408576698