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

Unified Diff: chrome/browser/ui/webui/ntp/thumbnail_source.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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: chrome/browser/ui/webui/ntp/thumbnail_source.h
diff --git a/chrome/browser/ui/webui/ntp/thumbnail_source.h b/chrome/browser/ui/webui/ntp/thumbnail_source.h
index e7ca4270708da2630dacfd764bec96e6fe5774f0..30398e8fd1309e1d1ea8813ab847b0efa4589ded 100644
--- a/chrome/browser/ui/webui/ntp/thumbnail_source.h
+++ b/chrome/browser/ui/webui/ntp/thumbnail_source.h
@@ -28,20 +28,19 @@ class ThumbnailSource : public content::URLDataSource {
ThumbnailSource(Profile* profile, bool capture_thumbnails);
// content::URLDataSource implementation.
- virtual std::string GetSource() const override;
- virtual void StartDataRequest(
+ std::string GetSource() const override;
+ void StartDataRequest(
const std::string& path,
int render_process_id,
int render_frame_id,
const content::URLDataSource::GotDataCallback& callback) override;
- virtual std::string GetMimeType(const std::string& path) const override;
- virtual base::MessageLoop* MessageLoopForRequestPath(
+ std::string GetMimeType(const std::string& path) const override;
+ base::MessageLoop* MessageLoopForRequestPath(
const std::string& path) const override;
- virtual bool ShouldServiceRequest(
- const net::URLRequest* request) const override;
+ bool ShouldServiceRequest(const net::URLRequest* request) const override;
private:
- virtual ~ThumbnailSource();
+ ~ThumbnailSource() override;
// Raw PNG representation of the thumbnail to show when the thumbnail
// database doesn't have a thumbnail for a webpage.

Powered by Google App Engine
This is Rietveld 408576698