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

Unified Diff: chrome/browser/diagnostics/diagnostics_writer.cc

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
« no previous file with comments | « chrome/browser/diagnostics/diagnostics_writer.h ('k') | chrome/browser/diagnostics/recon_diagnostics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/diagnostics/diagnostics_writer.cc
diff --git a/chrome/browser/diagnostics/diagnostics_writer.cc b/chrome/browser/diagnostics/diagnostics_writer.cc
index 8bd4b40cc5da4303af9a24652ad898b8401443f0..3693c07d6b3d9e723ae425db70e3e7e38d5e9351 100644
--- a/chrome/browser/diagnostics/diagnostics_writer.cc
+++ b/chrome/browser/diagnostics/diagnostics_writer.cc
@@ -137,25 +137,25 @@ class PosixConsole : public SimpleConsole {
public:
PosixConsole() : use_color_(false) {}
- virtual bool Init() OVERRIDE {
+ virtual bool Init() override {
// Technically, we should also check the terminal capabilities before using
// color, but in practice this is unlikely to be an issue.
use_color_ = isatty(STDOUT_FILENO);
return true;
}
- virtual bool Write(const base::string16& text) OVERRIDE {
+ virtual bool Write(const base::string16& text) override {
// We're assuming that the terminal is using UTF-8 encoding.
printf("%s", base::UTF16ToUTF8(text).c_str());
return true;
}
- virtual void OnQuit() OVERRIDE {
+ virtual void OnQuit() override {
// The "press enter to continue" prompt isn't very unixy, so only do that on
// Windows.
}
- virtual bool SetColor(Color color) OVERRIDE {
+ virtual bool SetColor(Color color) override {
if (!use_color_)
return false;
« no previous file with comments | « chrome/browser/diagnostics/diagnostics_writer.h ('k') | chrome/browser/diagnostics/recon_diagnostics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698