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

Unified Diff: content/browser/devtools/devtools_system_info_handler.cc

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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: content/browser/devtools/devtools_system_info_handler.cc
diff --git a/content/browser/devtools/devtools_system_info_handler.cc b/content/browser/devtools/devtools_system_info_handler.cc
index b9c5b4ff2ac75c90f26718b5a20fb6827f7a34b2..15261b3e466e5fa343149eecfa5b0000b97a622b 100644
--- a/content/browser/devtools/devtools_system_info_handler.cc
+++ b/content/browser/devtools/devtools_system_info_handler.cc
@@ -34,49 +34,43 @@ class AuxGPUInfoEnumerator : public gpu::GPUInfo::Enumerator {
: dictionary_(dictionary),
in_aux_attributes_(false) { }
- virtual void AddInt64(const char* name, int64 value) override {
+ void AddInt64(const char* name, int64 value) override {
if (in_aux_attributes_)
dictionary_->SetDouble(name, value);
}
- virtual void AddInt(const char* name, int value) override {
+ void AddInt(const char* name, int value) override {
if (in_aux_attributes_)
dictionary_->SetInteger(name, value);
}
- virtual void AddString(const char* name, const std::string& value) override {
+ void AddString(const char* name, const std::string& value) override {
if (in_aux_attributes_)
dictionary_->SetString(name, value);
}
- virtual void AddBool(const char* name, bool value) override {
+ void AddBool(const char* name, bool value) override {
if (in_aux_attributes_)
dictionary_->SetBoolean(name, value);
}
- virtual void AddTimeDeltaInSecondsF(const char* name,
- const base::TimeDelta& value) override {
+ void AddTimeDeltaInSecondsF(const char* name,
+ const base::TimeDelta& value) override {
if (in_aux_attributes_)
dictionary_->SetDouble(name, value.InSecondsF());
}
- virtual void BeginGPUDevice() override {
- }
+ void BeginGPUDevice() override {}
- virtual void EndGPUDevice() override {
- }
+ void EndGPUDevice() override {}
- virtual void BeginVideoEncodeAcceleratorSupportedProfile() override {}
+ void BeginVideoEncodeAcceleratorSupportedProfile() override {}
- virtual void EndVideoEncodeAcceleratorSupportedProfile() override {}
+ void EndVideoEncodeAcceleratorSupportedProfile() override {}
- virtual void BeginAuxAttributes() override {
- in_aux_attributes_ = true;
- }
+ void BeginAuxAttributes() override { in_aux_attributes_ = true; }
- virtual void EndAuxAttributes() override {
- in_aux_attributes_ = false;
- }
+ void EndAuxAttributes() override { in_aux_attributes_ = false; }
private:
base::DictionaryValue* dictionary_;
« no previous file with comments | « content/browser/devtools/devtools_system_info_handler.h ('k') | content/browser/devtools/devtools_tracing_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698