| Index: chrome/browser/diagnostics/diagnostics_writer.cc
|
| diff --git a/chrome/browser/diagnostics/diagnostics_writer.cc b/chrome/browser/diagnostics/diagnostics_writer.cc
|
| index 3693c07d6b3d9e723ae425db70e3e7e38d5e9351..835c24f1851638e35d89291590410ef3ef739ac3 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 {
|
| + 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 {
|
| + 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 {
|
| + 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 {
|
| + bool SetColor(Color color) override {
|
| if (!use_color_)
|
| return false;
|
|
|
|
|