: 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();