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

Unified Diff: ui/views/run_all_unittests.cc

Issue 10911098: ui: Keep the overrides in the same section of the superclass. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « ui/compositor/test/test_suite.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/run_all_unittests.cc
diff --git a/ui/views/run_all_unittests.cc b/ui/views/run_all_unittests.cc
index cbb85e151882514dcfdf1b6e71bd473d43164105..0482acbfaa8f581c845fb44819c71892f5fec2ff 100644
--- a/ui/views/run_all_unittests.cc
+++ b/ui/views/run_all_unittests.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/test/test_suite.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_paths.h"
@@ -14,7 +16,7 @@ class ViewTestSuite : public base::TestSuite {
ViewTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
protected:
- virtual void Initialize() {
+ virtual void Initialize() OVERRIDE {
base::TestSuite::Initialize();
ui::RegisterPathProvider();
@@ -24,9 +26,12 @@ class ViewTestSuite : public base::TestSuite {
ui::SetupTestCompositor();
}
- virtual void Shutdown() {
+ virtual void Shutdown() OVERRIDE {
ui::CompositorTestSupport::Terminate();
}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ViewTestSuite);
};
int main(int argc, char** argv) {
« no previous file with comments | « ui/compositor/test/test_suite.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698