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

Unified Diff: net/websockets/websocket_channel_test.cc

Issue 669813003: Update from chromium https://crrev.com/301725/ (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « net/websockets/websocket_basic_stream_test.cc ('k') | net/websockets/websocket_deflate_stream_test.cc » ('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 15163deb647c622f674f59e4472c0bb92adc2053..1ffe1e99f7cc9d935f5cc2ce7fca5f52ddf654ca 100644
--- a/net/websockets/websocket_channel_test.cc
+++ b/net/websockets/websocket_channel_test.cc
@@ -934,7 +934,7 @@ class WebSocketChannelEventInterfaceTest : public WebSocketChannelTest {
.WillByDefault(Return(CHANNEL_DELETED));
}
- virtual ~WebSocketChannelEventInterfaceTest() {
+ ~WebSocketChannelEventInterfaceTest() override {
DefaultValue<ChannelState>::Clear();
}
@@ -969,7 +969,7 @@ class WebSocketChannelStreamTest : public WebSocketChannelTest {
class WebSocketChannelSendUtf8Test
: public WebSocketChannelEventInterfaceTest {
public:
- virtual void SetUp() {
+ void SetUp() override {
set_stream(make_scoped_ptr(new WriteableFakeWebSocketStream));
// For the purpose of the tests using this fixture, it doesn't matter
// whether these methods are called or not.
@@ -999,7 +999,7 @@ class WebSocketChannelFlowControlTest
// mock WebSocketStream.
class WebSocketChannelReceiveUtf8Test : public WebSocketChannelStreamTest {
public:
- virtual void SetUp() {
+ void SetUp() override {
// For the purpose of the tests using this fixture, it doesn't matter
// whether these methods are called or not.
EXPECT_CALL(*mock_stream_, GetSubProtocol()).Times(AnyNumber());
« no previous file with comments | « net/websockets/websocket_basic_stream_test.cc ('k') | net/websockets/websocket_deflate_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698