diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-17 23:07:15 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-17 23:07:15 +0000 |
commit | 2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c (patch) | |
tree | 78766377b2779fe9b9afbc869a97f387b9b3d082 /base/test | |
parent | 936e85963a6d11c79c7ea774bc41c8729c04693f (diff) | |
download | chromium_src-2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c.zip chromium_src-2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c.tar.gz chromium_src-2f3b1cce4c8d4d6a4b016f4d03fca5ee88348a2c.tar.bz2 |
Move CommandLine to base namespace.
Fix all forward-declares and header files referencing CommandLine.
This keeps a "using base::CommandLine" in the command line header file so that the rest of the source files can be changes in a follow-up.
TBR=sky
Review URL: https://codereview.chromium.org/196413016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257514 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test')
-rw-r--r-- | base/test/launcher/test_launcher.h | 3 | ||||
-rw-r--r-- | base/test/launcher/test_results_tracker.h | 3 | ||||
-rw-r--r-- | base/test/multiprocess_test.h | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/base/test/launcher/test_launcher.h b/base/test/launcher/test_launcher.h index 796619d..ec0b2c1 100644 --- a/base/test/launcher/test_launcher.h +++ b/base/test/launcher/test_launcher.h @@ -16,8 +16,6 @@ #include "base/time/time.h" #include "base/timer/timer.h" -class CommandLine; - namespace testing { class TestCase; class TestInfo; @@ -25,6 +23,7 @@ class TestInfo; namespace base { +class CommandLine; struct LaunchOptions; class SequencedWorkerPoolOwner; class TestLauncher; diff --git a/base/test/launcher/test_results_tracker.h b/base/test/launcher/test_results_tracker.h index dbf3d04..8efce21 100644 --- a/base/test/launcher/test_results_tracker.h +++ b/base/test/launcher/test_results_tracker.h @@ -14,10 +14,9 @@ #include "base/test/launcher/test_result.h" #include "base/threading/thread_checker.h" -class CommandLine; - namespace base { +class CommandLine; class FilePath; // A helper class to output results. diff --git a/base/test/multiprocess_test.h b/base/test/multiprocess_test.h index a47ef74..b830f73 100644 --- a/base/test/multiprocess_test.h +++ b/base/test/multiprocess_test.h @@ -13,10 +13,10 @@ #include "build/build_config.h" #include "testing/platform_test.h" -class CommandLine; - namespace base { +class CommandLine; + // Helpers to spawn a child for a multiprocess test and execute a designated // function. Use these when you already have another base class for your test // fixture, but you want (some) of your tests to be multiprocess (otherwise you |