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

Unified Diff: components/visitedlink/test/visitedlink_unittest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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
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();
« no previous file with comments | « components/visitedlink/test/visitedlink_perftest.cc ('k') | components/web_cache/browser/web_cache_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698