| Index: chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc
|
| diff --git a/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc b/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc
|
| index 6bfcc9fd3cec925c177481f89841e419d9bbaa0c..b3e44c438b0a2b6ff4ce57d7285928367001fec5 100644
|
| --- a/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc
|
| +++ b/chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc
|
| @@ -54,14 +54,14 @@ class CountRenderViewHosts : public content::NotificationObserver {
|
| content::NOTIFICATION_WEB_CONTENTS_RENDER_VIEW_HOST_CREATED,
|
| content::NotificationService::AllSources());
|
| }
|
| - virtual ~CountRenderViewHosts() {}
|
| + ~CountRenderViewHosts() override {}
|
|
|
| int GetRenderViewHostCreatedCount() const { return count_; }
|
|
|
| private:
|
| - virtual void Observe(int type,
|
| - const content::NotificationSource& source,
|
| - const content::NotificationDetails& details) override {
|
| + void Observe(int type,
|
| + const content::NotificationSource& source,
|
| + const content::NotificationDetails& details) override {
|
| count_++;
|
| }
|
|
|
| @@ -81,9 +81,7 @@ class CloseObserver : public content::WebContentsObserver {
|
| close_loop_.Run();
|
| }
|
|
|
| - virtual void WebContentsDestroyed() override {
|
| - close_loop_.Quit();
|
| - }
|
| + void WebContentsDestroyed() override { close_loop_.Quit(); }
|
|
|
| private:
|
| base::RunLoop close_loop_;
|
| @@ -96,7 +94,7 @@ class PopupBlockerBrowserTest : public InProcessBrowserTest {
|
| PopupBlockerBrowserTest() {}
|
| virtual ~PopupBlockerBrowserTest() {}
|
|
|
| - virtual void SetUpOnMainThread() override {
|
| + void SetUpOnMainThread() override {
|
| InProcessBrowserTest::SetUpOnMainThread();
|
|
|
| host_resolver()->AddRule("*", "127.0.0.1");
|
|
|