summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/debug/stack_trace_posix.cc4
-rw-r--r--base/files/file_path_watcher_browsertest.cc4
-rw-r--r--base/files/important_file_writer_unittest.cc2
3 files changed, 5 insertions, 5 deletions
diff --git a/base/debug/stack_trace_posix.cc b/base/debug/stack_trace_posix.cc
index 5b31286..8a8ae47 100644
--- a/base/debug/stack_trace_posix.cc
+++ b/base/debug/stack_trace_posix.cc
@@ -374,7 +374,7 @@ class PrintBacktraceOutputHandler : public BacktraceOutputHandler {
public:
PrintBacktraceOutputHandler() {}
- virtual void HandleOutput(const char* output) {
+ virtual void HandleOutput(const char* output) OVERRIDE {
// NOTE: This code MUST be async-signal safe (it's used by in-process
// stack dumping signal handler). NO malloc or stdio is allowed here.
PrintToStderr(output);
@@ -389,7 +389,7 @@ class StreamBacktraceOutputHandler : public BacktraceOutputHandler {
explicit StreamBacktraceOutputHandler(std::ostream* os) : os_(os) {
}
- virtual void HandleOutput(const char* output) {
+ virtual void HandleOutput(const char* output) OVERRIDE {
(*os_) << output;
}
diff --git a/base/files/file_path_watcher_browsertest.cc b/base/files/file_path_watcher_browsertest.cc
index 4f0cb27..9129d91 100644
--- a/base/files/file_path_watcher_browsertest.cc
+++ b/base/files/file_path_watcher_browsertest.cc
@@ -111,7 +111,7 @@ class TestDelegate : public TestDelegateBase {
: collector_(collector) {
collector_->Register(this);
}
- ~TestDelegate() {}
+ virtual ~TestDelegate() {}
virtual void OnFileChanged(const FilePath& path, bool error) OVERRIDE {
if (error)
@@ -287,7 +287,7 @@ class Deleter : public TestDelegateBase {
: watcher_(watcher),
loop_(loop) {
}
- ~Deleter() {}
+ virtual ~Deleter() {}
virtual void OnFileChanged(const FilePath&, bool) OVERRIDE {
watcher_.reset();
diff --git a/base/files/important_file_writer_unittest.cc b/base/files/important_file_writer_unittest.cc
index 65da814..53c642b 100644
--- a/base/files/important_file_writer_unittest.cc
+++ b/base/files/important_file_writer_unittest.cc
@@ -32,7 +32,7 @@ class DataSerializer : public ImportantFileWriter::DataSerializer {
explicit DataSerializer(const std::string& data) : data_(data) {
}
- virtual bool SerializeData(std::string* output) {
+ virtual bool SerializeData(std::string* output) OVERRIDE {
output->assign(data_);
return true;
}