summaryrefslogtreecommitdiffstats
path: root/cc/test
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-28 00:33:36 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-28 00:33:36 +0000
commit27882cc4d1b3776294f9af1cc3d51633de70f512 (patch)
tree6c110546c4ab6d90a9143899efce65a323d3645f /cc/test
parentb66484ebec72042d2807198c59b205577d18c450 (diff)
downloadchromium_src-27882cc4d1b3776294f9af1cc3d51633de70f512.zip
chromium_src-27882cc4d1b3776294f9af1cc3d51633de70f512.tar.gz
chromium_src-27882cc4d1b3776294f9af1cc3d51633de70f512.tar.bz2
cc: Clean up the includes of a couple of CC Test Suite files.
This also fix the path to Range's header in a comment. BUG=None TEST=cc_unittests still links. R=danakj@chromium.org Review URL: https://codereview.chromium.org/137663007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test')
-rw-r--r--cc/test/cc_test_suite.cc4
-rw-r--r--cc/test/cc_test_suite.h2
-rw-r--r--cc/test/run_all_unittests.cc7
3 files changed, 4 insertions, 9 deletions
diff --git a/cc/test/cc_test_suite.cc b/cc/test/cc_test_suite.cc
index 8b3228a..62b5430 100644
--- a/cc/test/cc_test_suite.cc
+++ b/cc/test/cc_test_suite.cc
@@ -4,12 +4,8 @@
#include "cc/test/cc_test_suite.h"
-#include <string>
-
-#include "base/command_line.h"
#include "base/message_loop/message_loop.h"
#include "base/threading/thread_id_name_manager.h"
-#include "cc/base/switches.h"
#include "cc/test/paths.h"
namespace cc {
diff --git a/cc/test/cc_test_suite.h b/cc/test/cc_test_suite.h
index d1a71fd..5f749e7 100644
--- a/cc/test/cc_test_suite.h
+++ b/cc/test/cc_test_suite.h
@@ -5,7 +5,7 @@
#ifndef CC_TEST_CC_TEST_SUITE_H_
#define CC_TEST_CC_TEST_SUITE_H_
-#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/test/test_suite.h"
diff --git a/cc/test/run_all_unittests.cc b/cc/test/run_all_unittests.cc
index e5e3136..6d18d8d 100644
--- a/cc/test/run_all_unittests.cc
+++ b/cc/test/run_all_unittests.cc
@@ -3,15 +3,14 @@
// found in the LICENSE file.
#include "base/bind.h"
-#include "base/message_loop/message_loop.h"
#include "base/test/launcher/unit_test_launcher.h"
-#include "base/test/test_suite.h"
#include "cc/test/cc_test_suite.h"
int main(int argc, char** argv) {
cc::CCTestSuite test_suite(argc, argv);
return base::LaunchUnitTests(
- argc, argv, base::Bind(&cc::CCTestSuite::Run,
- base::Unretained(&test_suite)));
+ argc,
+ argv,
+ base::Bind(&cc::CCTestSuite::Run, base::Unretained(&test_suite)));
}