Index: components/visitedlink/test/visitedlink_unittest.cc |
diff --git a/components/visitedlink/test/visitedlink_unittest.cc b/components/visitedlink/test/visitedlink_unittest.cc |
index 9ced29a1ac43be253e17d94266494e9b572e0d60..8822df6d920bf7ae72a71c02310a5d1174d36350 100644 |
--- a/components/visitedlink/test/visitedlink_unittest.cc |
+++ b/components/visitedlink/test/visitedlink_unittest.cc |
@@ -55,7 +55,7 @@ std::vector<VisitedLinkSlave*> g_slaves; |
class TestVisitedLinkDelegate : public VisitedLinkDelegate { |
public: |
virtual void RebuildTable( |
- const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; |
+ const scoped_refptr<URLEnumerator>& enumerator) override; |
void AddURLForRebuild(const GURL& url); |
@@ -80,8 +80,8 @@ class TestURLIterator : public VisitedLinkMaster::URLIterator { |
public: |
explicit TestURLIterator(const URLs& urls); |
- virtual const GURL& NextURL() OVERRIDE; |
- virtual bool HasNextURL() const OVERRIDE; |
+ virtual const GURL& NextURL() override; |
+ virtual bool HasNextURL() const override; |
private: |
URLs::const_iterator iterator_; |
@@ -109,7 +109,7 @@ class TrackingVisitedLinkEventListener : public VisitedLinkMaster::Listener { |
: reset_count_(0), |
add_count_(0) {} |
- virtual void NewTable(base::SharedMemory* table) OVERRIDE { |
+ virtual void NewTable(base::SharedMemory* table) override { |
if (table) { |
for (std::vector<VisitedLinkSlave>::size_type i = 0; |
i < g_slaves.size(); i++) { |
@@ -119,8 +119,8 @@ class TrackingVisitedLinkEventListener : public VisitedLinkMaster::Listener { |
} |
} |
} |
- virtual void Add(VisitedLinkCommon::Fingerprint) OVERRIDE { add_count_++; } |
- virtual void Reset() OVERRIDE { reset_count_++; } |
+ virtual void Add(VisitedLinkCommon::Fingerprint) override { add_count_++; } |
+ virtual void Reset() override { reset_count_++; } |
void SetUp() { |
reset_count_ = 0; |
@@ -543,11 +543,11 @@ class VisitRelayingRenderProcessHost : public MockRenderProcessHost { |
content::NotificationService::NoDetails()); |
} |
- virtual void WidgetRestored() OVERRIDE { widgets_++; } |
- virtual void WidgetHidden() OVERRIDE { widgets_--; } |
- virtual int VisibleWidgetCount() const OVERRIDE { return widgets_; } |
+ virtual void WidgetRestored() override { widgets_++; } |
+ virtual void WidgetHidden() override { widgets_--; } |
+ virtual int VisibleWidgetCount() const override { return widgets_; } |
- virtual bool Send(IPC::Message* msg) OVERRIDE { |
+ virtual bool Send(IPC::Message* msg) override { |
VisitCountingContext* counting_context = |
static_cast<VisitCountingContext*>( |
GetBrowserContext()); |
@@ -580,7 +580,7 @@ class VisitedLinkRenderProcessHostFactory |
: content::RenderProcessHostFactory() {} |
virtual content::RenderProcessHost* CreateRenderProcessHost( |
content::BrowserContext* browser_context, |
- content::SiteInstance* site_instance) const OVERRIDE { |
+ content::SiteInstance* site_instance) const override { |
return new VisitRelayingRenderProcessHost(browser_context); |
} |
@@ -595,7 +595,7 @@ class VisitedLinkEventsTest : public content::RenderViewHostTestHarness { |
content::RenderViewHostTestHarness::SetUp(); |
} |
- virtual content::BrowserContext* CreateBrowserContext() OVERRIDE { |
+ virtual content::BrowserContext* CreateBrowserContext() override { |
VisitCountingContext* context = new VisitCountingContext(); |
master_.reset(new VisitedLinkMaster(context, &delegate_, true)); |
master_->Init(); |