diff options
author | nick <nick@chromium.org> | 2015-04-24 13:45:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-24 20:45:43 +0000 |
commit | ddb02ac66bad95bc04548a799eb2ce89a456b37c (patch) | |
tree | 948622946e37611fa5198b4dba00ad31ec15c7ec /chrome/test/logging/win/log_file_printer.cc | |
parent | d9456757bec482f2b27cf75ef7fa2109af0500a6 (diff) | |
download | chromium_src-ddb02ac66bad95bc04548a799eb2ce89a456b37c.zip chromium_src-ddb02ac66bad95bc04548a799eb2ce89a456b37c.tar.gz chromium_src-ddb02ac66bad95bc04548a799eb2ce89a456b37c.tar.bz2 |
Update {virtual,override} to follow C++11 style in chrome.
The Google style guide states that only one of {virtual,override,final} should be used for each declaration, since override implies virtual and final implies both virtual and override.
This patch was manually generated using a regex and a text editor.
BUG=417463
Review URL: https://codereview.chromium.org/1100223002
Cr-Commit-Position: refs/heads/master@{#326870}
Diffstat (limited to 'chrome/test/logging/win/log_file_printer.cc')
-rw-r--r-- | chrome/test/logging/win/log_file_printer.cc | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/chrome/test/logging/win/log_file_printer.cc b/chrome/test/logging/win/log_file_printer.cc index fc2fb48..943712a 100644 --- a/chrome/test/logging/win/log_file_printer.cc +++ b/chrome/test/logging/win/log_file_printer.cc @@ -87,34 +87,34 @@ const char* GetTraceTypeString(char event_type) { class EventPrinter : public logging_win::LogFileDelegate { public: explicit EventPrinter(std::ostream* out); - virtual ~EventPrinter(); - - virtual void OnUnknownEvent(const EVENT_TRACE* event) override; - - virtual void OnUnparsableEvent(const EVENT_TRACE* event) override; - - virtual void OnFileHeader(const EVENT_TRACE* event, - const TRACE_LOGFILE_HEADER* header) override; - - virtual void OnLogMessage(const EVENT_TRACE* event, - logging::LogSeverity severity, - const base::StringPiece& message) override; - - virtual void OnLogMessageFull(const EVENT_TRACE* event, - logging::LogSeverity severity, - DWORD stack_depth, - const intptr_t* backtrace, - int line, - const base::StringPiece& file, - const base::StringPiece& message) override; - - virtual void OnTraceEvent(const EVENT_TRACE* event, - const base::StringPiece& name, - char type, - intptr_t id, - const base::StringPiece& extra, - DWORD stack_depth, - const intptr_t* backtrace) override; + ~EventPrinter() override; + + void OnUnknownEvent(const EVENT_TRACE* event) override; + + void OnUnparsableEvent(const EVENT_TRACE* event) override; + + void OnFileHeader(const EVENT_TRACE* event, + const TRACE_LOGFILE_HEADER* header) override; + + void OnLogMessage(const EVENT_TRACE* event, + logging::LogSeverity severity, + const base::StringPiece& message) override; + + void OnLogMessageFull(const EVENT_TRACE* event, + logging::LogSeverity severity, + DWORD stack_depth, + const intptr_t* backtrace, + int line, + const base::StringPiece& file, + const base::StringPiece& message) override; + + void OnTraceEvent(const EVENT_TRACE* event, + const base::StringPiece& name, + char type, + intptr_t id, + const base::StringPiece& extra, + DWORD stack_depth, + const intptr_t* backtrace) override; private: void PrintTimeStamp(LARGE_INTEGER time_stamp); |