Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5982)

Unified Diff: chrome/browser/diagnostics/diagnostics_model_unittest.cc

Issue 12212048: Linux/ChromeOS Chromium style checker cleanup, chrome/browser edition. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/diagnostics/diagnostics_model_unittest.cc
===================================================================
--- chrome/browser/diagnostics/diagnostics_model_unittest.cc (revision 181040)
+++ chrome/browser/diagnostics/diagnostics_model_unittest.cc (working copy)
@@ -5,6 +5,7 @@
#include "chrome/browser/diagnostics/diagnostics_model.h"
#include "base/command_line.h"
+#include "base/compiler_specific.h"
#include "testing/gtest/include/gtest/gtest.h"
// Basic harness to adquire and release the Diagnostic model object.
@@ -40,16 +41,18 @@
id_of_failed_stop_test(-1) {
}
- virtual void OnProgress(int id, int percent, DiagnosticsModel* model) {
+ virtual void OnProgress(int id,
+ int percent,
+ DiagnosticsModel* model) OVERRIDE {
EXPECT_TRUE(model != NULL);
++progress_called_;
}
- virtual void OnSkipped(int id, DiagnosticsModel* model) {
+ virtual void OnSkipped(int id, DiagnosticsModel* model) OVERRIDE {
EXPECT_TRUE(model != NULL);
}
- virtual void OnFinished(int id, DiagnosticsModel* model) {
+ virtual void OnFinished(int id, DiagnosticsModel* model) OVERRIDE {
EXPECT_TRUE(model != NULL);
++finished_;
if (model->GetTest(id).GetResult() == DiagnosticsModel::TEST_FAIL_STOP) {
@@ -58,7 +61,7 @@
}
}
- virtual void OnDoneAll(DiagnosticsModel* model) {
+ virtual void OnDoneAll(DiagnosticsModel* model) OVERRIDE {
done_ = true;
EXPECT_TRUE(model != NULL);
}

Powered by Google App Engine
This is Rietveld 408576698