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

Unified Diff: chrome/common/chrome_content_client.h

Issue 653773004: Standardize usage of virtual/override/final in chrome/ (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/common/chrome_content_client.h
diff --git a/chrome/common/chrome_content_client.h b/chrome/common/chrome_content_client.h
index f8c0d75a207827e3464a9bee15dda18b4f29cc93..e9d3ed05989d5029c501ca8ede982a06b91bf1bf 100644
--- a/chrome/common/chrome_content_client.h
+++ b/chrome/common/chrome_content_client.h
@@ -20,26 +20,25 @@ class ChromeContentClient : public content::ContentClient {
static const char* const kPDFPluginName;
static const char* const kRemotingViewerPluginPath;
- virtual void SetActiveURL(const GURL& url) override;
- virtual void SetGpuInfo(const gpu::GPUInfo& gpu_info) override;
- virtual void AddPepperPlugins(
+ void SetActiveURL(const GURL& url) override;
+ void SetGpuInfo(const gpu::GPUInfo& gpu_info) override;
+ void AddPepperPlugins(
std::vector<content::PepperPluginInfo>* plugins) override;
- virtual void AddAdditionalSchemes(
- std::vector<std::string>* standard_schemes,
- std::vector<std::string>* saveable_shemes) override;
- virtual std::string GetProduct() const override;
- virtual std::string GetUserAgent() const override;
- virtual base::string16 GetLocalizedString(int message_id) const override;
- virtual base::StringPiece GetDataResource(
+ void AddAdditionalSchemes(std::vector<std::string>* standard_schemes,
+ std::vector<std::string>* saveable_shemes) override;
+ std::string GetProduct() const override;
+ std::string GetUserAgent() const override;
+ base::string16 GetLocalizedString(int message_id) const override;
+ base::StringPiece GetDataResource(
int resource_id,
ui::ScaleFactor scale_factor) const override;
- virtual base::RefCountedStaticMemory* GetDataResourceBytes(
+ base::RefCountedStaticMemory* GetDataResourceBytes(
int resource_id) const override;
- virtual gfx::Image& GetNativeImageNamed(int resource_id) const override;
- virtual std::string GetProcessTypeNameInEnglish(int type) override;
+ gfx::Image& GetNativeImageNamed(int resource_id) const override;
+ std::string GetProcessTypeNameInEnglish(int type) override;
#if defined(OS_MACOSX) && !defined(OS_IOS)
- virtual bool GetSandboxProfileForSandboxType(
+ bool GetSandboxProfileForSandboxType(
int sandbox_type,
int* sandbox_profile_resource_id) const override;
#endif
« no previous file with comments | « chrome/app_shim/chrome_main_app_mode_mac.mm ('k') | chrome/common/extensions/api/commands/commands_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698