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

Unified Diff: chrome/browser/history/top_sites_impl.h

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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: chrome/browser/history/top_sites_impl.h
diff --git a/chrome/browser/history/top_sites_impl.h b/chrome/browser/history/top_sites_impl.h
index 28d8c0c7833c87ee5bd4d15c778a4d407e115b9c..f71b6b1c3aaa208d151c98de996843c3a6e15913 100644
--- a/chrome/browser/history/top_sites_impl.h
+++ b/chrome/browser/history/top_sites_impl.h
@@ -55,39 +55,39 @@ class TopSitesImpl : public TopSites {
virtual bool SetPageThumbnail(const GURL& url,
const gfx::Image& thumbnail,
- const ThumbnailScore& score) OVERRIDE;
+ const ThumbnailScore& score) override;
virtual bool SetPageThumbnailToJPEGBytes(
const GURL& url,
const base::RefCountedMemory* memory,
- const ThumbnailScore& score) OVERRIDE;
+ const ThumbnailScore& score) override;
virtual void GetMostVisitedURLs(
const GetMostVisitedURLsCallback& callback,
- bool include_forced_urls) OVERRIDE;
+ bool include_forced_urls) override;
virtual bool GetPageThumbnail(
const GURL& url,
bool prefix_match,
- scoped_refptr<base::RefCountedMemory>* bytes) OVERRIDE;
+ scoped_refptr<base::RefCountedMemory>* bytes) override;
virtual bool GetPageThumbnailScore(const GURL& url,
- ThumbnailScore* score) OVERRIDE;
+ ThumbnailScore* score) override;
virtual bool GetTemporaryPageThumbnailScore(const GURL& url,
- ThumbnailScore* score) OVERRIDE;
- virtual void SyncWithHistory() OVERRIDE;
- virtual bool HasBlacklistedItems() const OVERRIDE;
- virtual void AddBlacklistedURL(const GURL& url) OVERRIDE;
- virtual void RemoveBlacklistedURL(const GURL& url) OVERRIDE;
- virtual bool IsBlacklisted(const GURL& url) OVERRIDE;
- virtual void ClearBlacklistedURLs() OVERRIDE;
- virtual void Shutdown() OVERRIDE;
+ ThumbnailScore* score) override;
+ virtual void SyncWithHistory() override;
+ virtual bool HasBlacklistedItems() const override;
+ virtual void AddBlacklistedURL(const GURL& url) override;
+ virtual void RemoveBlacklistedURL(const GURL& url) override;
+ virtual bool IsBlacklisted(const GURL& url) override;
+ virtual void ClearBlacklistedURLs() override;
+ virtual void Shutdown() override;
virtual base::CancelableTaskTracker::TaskId StartQueryForMostVisited()
- OVERRIDE;
- virtual bool IsKnownURL(const GURL& url) OVERRIDE;
+ override;
+ virtual bool IsKnownURL(const GURL& url) override;
virtual const std::string& GetCanonicalURLString(
- const GURL& url) const OVERRIDE;
- virtual bool IsNonForcedFull() OVERRIDE;
- virtual bool IsForcedFull() OVERRIDE;
- virtual MostVisitedURLList GetPrepopulatePages() OVERRIDE;
- virtual bool loaded() const OVERRIDE;
- virtual bool AddForcedURL(const GURL& url, const base::Time& time) OVERRIDE;
+ const GURL& url) const override;
+ virtual bool IsNonForcedFull() override;
+ virtual bool IsForcedFull() override;
+ virtual MostVisitedURLList GetPrepopulatePages() override;
+ virtual bool loaded() const override;
+ virtual bool AddForcedURL(const GURL& url, const base::Time& time) override;
protected:
virtual ~TopSitesImpl();
@@ -182,7 +182,7 @@ class TopSitesImpl : public TopSites {
// Implementation of content::NotificationObserver.
virtual void Observe(int type,
const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
+ const content::NotificationDetails& details) override;
// Updates URLs in |cache_| and the db (in the background).
// The non-forced URLs in |new_top_sites| replace those in |cache_|.
« no previous file with comments | « chrome/browser/history/in_memory_url_index_unittest.cc ('k') | chrome/browser/history/top_sites_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698