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

Unified Diff: net/quic/quic_end_to_end_unittest.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/quic/quic_client_session_test.cc ('k') | net/quic/quic_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_end_to_end_unittest.cc
diff --git a/net/quic/quic_end_to_end_unittest.cc b/net/quic/quic_end_to_end_unittest.cc
index 96833af0c295a1951cd812085d07097847d06ca6..a3fa12bf2abee3e214b6aa518f32121556c5e61a 100644
--- a/net/quic/quic_end_to_end_unittest.cc
+++ b/net/quic/quic_end_to_end_unittest.cc
@@ -49,21 +49,18 @@ class TestTransactionFactory : public HttpTransactionFactory {
TestTransactionFactory(const HttpNetworkSession::Params& params)
: session_(new HttpNetworkSession(params)) {}
- virtual ~TestTransactionFactory() {
- }
+ ~TestTransactionFactory() override {}
// HttpTransactionFactory methods
- virtual int CreateTransaction(RequestPriority priority,
- scoped_ptr<HttpTransaction>* trans) override {
+ int CreateTransaction(RequestPriority priority,
+ scoped_ptr<HttpTransaction>* trans) override {
trans->reset(new HttpNetworkTransaction(priority, session_.get()));
return OK;
}
- virtual HttpCache* GetCache() override {
- return nullptr;
- }
+ HttpCache* GetCache() override { return nullptr; }
- virtual HttpNetworkSession* GetSession() override { return session_.get(); };
+ HttpNetworkSession* GetSession() override { return session_.get(); };
private:
scoped_refptr<HttpNetworkSession> session_;
@@ -105,7 +102,7 @@ class QuicEndToEndTest : public PlatformTest {
return resolver;
}
- virtual void SetUp() {
+ void SetUp() override {
QuicInMemoryCachePeer::ResetForTests();
StartServer();
@@ -123,7 +120,7 @@ class QuicEndToEndTest : public PlatformTest {
transaction_factory_.reset(new TestTransactionFactory(params_));
}
- virtual void TearDown() {
+ void TearDown() override {
StopServer();
QuicInMemoryCachePeer::ResetForTests();
}
« no previous file with comments | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698