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

Unified Diff: components/invalidation/gcm_network_channel_unittest.cc

Issue 684513002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
Index: components/invalidation/gcm_network_channel_unittest.cc
diff --git a/components/invalidation/gcm_network_channel_unittest.cc b/components/invalidation/gcm_network_channel_unittest.cc
index 420453578e5676cac19b2cd17c5735ea548bc06b..060b834d27cbe71d8d7b4f049b7e41ccad5214a7 100644
--- a/components/invalidation/gcm_network_channel_unittest.cc
+++ b/components/invalidation/gcm_network_channel_unittest.cc
@@ -125,10 +125,9 @@ class GCMNetworkChannelTest
url_fetchers_created_count_(0),
last_invalidator_state_(TRANSIENT_INVALIDATION_ERROR) {}
- virtual ~GCMNetworkChannelTest() {
- }
+ ~GCMNetworkChannelTest() override {}
- virtual void SetUp() {
+ void SetUp() override {
request_context_getter_ = new net::TestURLRequestContextGetter(
base::MessageLoopProxy::current());
// Ownership of delegate goes to GCNMentworkChannel but test needs pointer
@@ -147,9 +146,7 @@ class GCMNetworkChannelTest
base::Unretained(this))));
}
- virtual void TearDown() {
- gcm_network_channel_->RemoveObserver(this);
- }
+ void TearDown() override { gcm_network_channel_->RemoveObserver(this); }
// Helper functions to call private methods from test
GURL BuildUrl(const std::string& registration_id) {
« no previous file with comments | « components/history/core/browser/url_database_unittest.cc ('k') | components/invalidation/p2p_invalidator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698