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

Side by Side Diff: net/spdy/spdy_stream_unittest.cc

Issue 663043004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 unified diff | Download patch
« no previous file with comments | « net/spdy/spdy_session_unittest.cc ('k') | net/spdy/spdy_websocket_stream_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <cstddef> 5 #include <cstddef>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 session_deps_(GetParam()), 50 session_deps_(GetParam()),
51 offset_(0) {} 51 offset_(0) {}
52 52
53 base::WeakPtr<SpdySession> CreateDefaultSpdySession() { 53 base::WeakPtr<SpdySession> CreateDefaultSpdySession() {
54 SpdySessionKey key(HostPortPair("www.google.com", 80), 54 SpdySessionKey key(HostPortPair("www.google.com", 80),
55 ProxyServer::Direct(), 55 ProxyServer::Direct(),
56 PRIVACY_MODE_DISABLED); 56 PRIVACY_MODE_DISABLED);
57 return CreateInsecureSpdySession(session_, key, BoundNetLog()); 57 return CreateInsecureSpdySession(session_, key, BoundNetLog());
58 } 58 }
59 59
60 virtual void TearDown() { 60 void TearDown() override { base::MessageLoop::current()->RunUntilIdle(); }
61 base::MessageLoop::current()->RunUntilIdle();
62 }
63 61
64 void RunResumeAfterUnstallRequestResponseTest( 62 void RunResumeAfterUnstallRequestResponseTest(
65 const UnstallFunction& unstall_function); 63 const UnstallFunction& unstall_function);
66 64
67 void RunResumeAfterUnstallBidirectionalTest( 65 void RunResumeAfterUnstallBidirectionalTest(
68 const UnstallFunction& unstall_function); 66 const UnstallFunction& unstall_function);
69 67
70 // Add{Read,Write}() populates lists that are eventually passed to a 68 // Add{Read,Write}() populates lists that are eventually passed to a
71 // SocketData class. |frame| must live for the whole test. 69 // SocketData class. |frame| must live for the whole test.
72 70
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
1052 data.RunFor(1); // FIN 1050 data.RunFor(1); // FIN
1053 1051
1054 EXPECT_EQ(ERR_CONNECTION_CLOSED, delegate.WaitForClose()); 1052 EXPECT_EQ(ERR_CONNECTION_CLOSED, delegate.WaitForClose());
1055 } 1053 }
1056 1054
1057 } // namespace 1055 } // namespace
1058 1056
1059 } // namespace test 1057 } // namespace test
1060 1058
1061 } // namespace net 1059 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_session_unittest.cc ('k') | net/spdy/spdy_websocket_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698