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

Unified Diff: content/public/test/test_browser_thread.cc

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « content/public/test/test_browser_context.cc ('k') | content/public/test/test_file_error_injector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_browser_thread.cc
diff --git a/content/public/test/test_browser_thread.cc b/content/public/test/test_browser_thread.cc
index ac3311c497128ef36512a654b6630be649006b41..ac67480fe5cd36b6cd515d866656e2687983a9f1 100644
--- a/content/public/test/test_browser_thread.cc
+++ b/content/public/test/test_browser_thread.cc
@@ -23,16 +23,14 @@ class TestBrowserThreadImpl : public BrowserThreadImpl {
: BrowserThreadImpl(identifier, message_loop),
notification_service_(NULL) {}
- virtual ~TestBrowserThreadImpl() {
- Stop();
- }
+ ~TestBrowserThreadImpl() override { Stop(); }
- virtual void Init() override {
+ void Init() override {
notification_service_ = new NotificationServiceImpl;
BrowserThreadImpl::Init();
}
- virtual void CleanUp() override {
+ void CleanUp() override {
delete notification_service_;
notification_service_ = NULL;
BrowserThreadImpl::CleanUp();
« no previous file with comments | « content/public/test/test_browser_context.cc ('k') | content/public/test/test_file_error_injector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698