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

Unified Diff: net/websockets/websocket_channel_test.cc

Issue 693943003: Update from https://crrev.com/302630 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « net/url_request/url_request_unittest.cc ('k') | sandbox/linux/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_channel_test.cc
diff --git a/net/websockets/websocket_channel_test.cc b/net/websockets/websocket_channel_test.cc
index 1ffe1e99f7cc9d935f5cc2ce7fca5f52ddf654ca..f814f10fba2bd61391df991481cc02fff2a4fd4e 100644
--- a/net/websockets/websocket_channel_test.cc
+++ b/net/websockets/websocket_channel_test.cc
@@ -422,18 +422,6 @@ template <size_t N>
return ::testing::MakeMatcher(new EqualsFramesMatcher<N>(&frames));
}
-// TestClosure works like TestCompletionCallback, but doesn't take an argument.
-class TestClosure {
- public:
- base::Closure closure() { return base::Bind(callback_.callback(), OK); }
-
- void WaitForResult() { callback_.WaitForResult(); }
-
- private:
- // Delegate to TestCompletionCallback for the implementation.
- TestCompletionCallback callback_;
-};
-
// A GoogleMock action to run a Closure.
ACTION_P(InvokeClosure, closure) { closure.Run(); }
« no previous file with comments | « net/url_request/url_request_unittest.cc ('k') | sandbox/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698