diff options
Diffstat (limited to 'chrome/test/base/tracing.cc')
-rw-r--r-- | chrome/test/base/tracing.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/base/tracing.cc b/chrome/test/base/tracing.cc index 53af5af..8a37ab9 100644 --- a/chrome/test/base/tracing.cc +++ b/chrome/test/base/tracing.cc @@ -24,11 +24,11 @@ class StringTraceSink : public content::TracingController::TraceDataSink { StringTraceSink(std::string* result, const base::Closure& callback) : result_(result), completion_callback_(callback) {} - virtual void AddTraceChunk(const std::string& chunk) OVERRIDE { + virtual void AddTraceChunk(const std::string& chunk) override { *result_ += result_->empty() ? "[" : ","; *result_ += chunk; } - virtual void Close() OVERRIDE { + virtual void Close() override { if (!result_->empty()) *result_ += "]"; completion_callback_.Run(); |