| Index: chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc
|
| diff --git a/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc b/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc
|
| index b34cf1ee7c1170726bd7f79d5a03c90d46c75115..491b80a1b54eeccc3ef70977681f31af33c22c58 100644
|
| --- a/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc
|
| +++ b/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc
|
| @@ -61,25 +61,22 @@ class TestObserver : public MessageCenterObserver {
|
| MessageCenter::Get()->AddObserver(this);
|
| }
|
|
|
| - virtual ~TestObserver() {
|
| - MessageCenter::Get()->RemoveObserver(this);
|
| - }
|
| + ~TestObserver() override { MessageCenter::Get()->RemoveObserver(this); }
|
|
|
| void WaitAndReset() {
|
| run_loop_->Run();
|
| run_loop_.reset(new base::RunLoop());
|
| }
|
|
|
| - virtual void OnNotificationDisplayed(
|
| + void OnNotificationDisplayed(
|
| const std::string& notification_id,
|
| - const message_center::DisplaySource source)
|
| - override {
|
| + const message_center::DisplaySource source) override {
|
| if (notification_id == kNotificationId)
|
| MessageLoop::current()->PostTask(FROM_HERE, run_loop_->QuitClosure());
|
| }
|
|
|
| - virtual void OnNotificationRemoved(const std::string& notification_id,
|
| - bool by_user) override {
|
| + void OnNotificationRemoved(const std::string& notification_id,
|
| + bool by_user) override {
|
| if (notification_id == kNotificationId && by_user)
|
| MessageLoop::current()->PostTask(FROM_HERE, run_loop_->QuitClosure());
|
| }
|
| @@ -98,9 +95,9 @@ class NetworkPortalDetectorImplBrowserTest
|
| public:
|
| NetworkPortalDetectorImplBrowserTest()
|
| : LoginManagerTest(false), network_portal_detector_(NULL) {}
|
| - virtual ~NetworkPortalDetectorImplBrowserTest() {}
|
| + ~NetworkPortalDetectorImplBrowserTest() override {}
|
|
|
| - virtual void SetUpOnMainThread() override {
|
| + void SetUpOnMainThread() override {
|
| LoginManagerTest::SetUpOnMainThread();
|
|
|
| ShillServiceClient::TestInterface* service_test =
|
|
|