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

Unified Diff: chrome/browser/ui/webui/theme_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/theme_source.h
diff --git a/chrome/browser/ui/webui/theme_source.h b/chrome/browser/ui/webui/theme_source.h
index 0d6b1c0ee6de6425423cc358ac63962ec824a3c7..303eedfc82a84e2db26d65325ff3e75ba83f907b 100644
--- a/chrome/browser/ui/webui/theme_source.h
+++ b/chrome/browser/ui/webui/theme_source.h
@@ -20,21 +20,20 @@ class RefCountedMemory;
class ThemeSource : public content::URLDataSource {
public:
explicit ThemeSource(Profile* profile);
- virtual ~ThemeSource();
+ ~ThemeSource() override;
// 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 ShouldReplaceExistingSource() const override;
- virtual bool ShouldServiceRequest(
- const net::URLRequest* request) const override;
+ bool ShouldReplaceExistingSource() const override;
+ bool ShouldServiceRequest(const net::URLRequest* request) const override;
private:
// Fetch and send the theme bitmap.

Powered by Google App Engine
This is Rietveld 408576698