summaryrefslogtreecommitdiffstats
path: root/chrome/test/logging/win/log_file_printer.cc
diff options
context:
space:
mode:
authornick <nick@chromium.org>2015-04-24 13:45:38 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-24 20:45:43 +0000
commitddb02ac66bad95bc04548a799eb2ce89a456b37c (patch)
tree948622946e37611fa5198b4dba00ad31ec15c7ec /chrome/test/logging/win/log_file_printer.cc
parentd9456757bec482f2b27cf75ef7fa2109af0500a6 (diff)
downloadchromium_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.cc56
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);