diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 01:19:47 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 01:19:47 +0000 |
commit | 0bc24b5f255230a027a0a3b63c1ece5746519f39 (patch) | |
tree | 5d5cc2861278ee49c49058cf7fdc63927c7830a8 /chrome/test/webdriver | |
parent | 7c10f7553bf4da999f954e501fc2908e10dd3bcf (diff) | |
download | chromium_src-0bc24b5f255230a027a0a3b63c1ece5746519f39.zip chromium_src-0bc24b5f255230a027a0a3b63c1ece5746519f39.tar.gz chromium_src-0bc24b5f255230a027a0a3b63c1ece5746519f39.tar.bz2 |
Cleanup: Remove unneeded includes of chrome_switches.h.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6086003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70978 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/webdriver')
-rw-r--r-- | chrome/test/webdriver/commands/create_session.cc | 2 | ||||
-rw-r--r-- | chrome/test/webdriver/commands/session_with_id.cc | 2 | ||||
-rw-r--r-- | chrome/test/webdriver/commands/webdriver_command.cc | 2 | ||||
-rw-r--r-- | chrome/test/webdriver/session_manager.cc | 28 |
4 files changed, 13 insertions, 21 deletions
diff --git a/chrome/test/webdriver/commands/create_session.cc b/chrome/test/webdriver/commands/create_session.cc index 7ba85a4..3272a43 100644 --- a/chrome/test/webdriver/commands/create_session.cc +++ b/chrome/test/webdriver/commands/create_session.cc @@ -10,7 +10,6 @@ #include "base/values.h" #include "chrome/app/chrome_command_ids.h" #include "chrome/common/chrome_constants.h" -#include "chrome/common/chrome_switches.h" namespace webdriver { @@ -33,4 +32,3 @@ void CreateSession::ExecutePost(Response* const response) { } } // namespace webdriver - diff --git a/chrome/test/webdriver/commands/session_with_id.cc b/chrome/test/webdriver/commands/session_with_id.cc index 682f5a2..ea7cc1c 100644 --- a/chrome/test/webdriver/commands/session_with_id.cc +++ b/chrome/test/webdriver/commands/session_with_id.cc @@ -10,7 +10,6 @@ #include "base/values.h" #include "chrome/app/chrome_command_ids.h" #include "chrome/common/chrome_constants.h" -#include "chrome/common/chrome_switches.h" namespace webdriver { @@ -46,4 +45,3 @@ void SessionWithID::ExecuteDelete(Response* const response) { } } // namespace webdriver - diff --git a/chrome/test/webdriver/commands/webdriver_command.cc b/chrome/test/webdriver/commands/webdriver_command.cc index 206679e..276fa65 100644 --- a/chrome/test/webdriver/commands/webdriver_command.cc +++ b/chrome/test/webdriver/commands/webdriver_command.cc @@ -14,7 +14,6 @@ #include "base/json/json_writer.h" #include "chrome/app/chrome_command_ids.h" #include "chrome/common/chrome_constants.h" -#include "chrome/common/chrome_switches.h" #include "chrome/test/automation/automation_proxy.h" #include "chrome/test/automation/browser_proxy.h" #include "chrome/test/automation/tab_proxy.h" @@ -75,4 +74,3 @@ bool WebDriverCommand::VerifyTabIsValid(Response* response) { } } // namespace webdriver - diff --git a/chrome/test/webdriver/session_manager.cc b/chrome/test/webdriver/session_manager.cc index ab7db24..7b1981b 100644 --- a/chrome/test/webdriver/session_manager.cc +++ b/chrome/test/webdriver/session_manager.cc @@ -4,19 +4,6 @@ #include "chrome/test/webdriver/session_manager.h" -#ifdef OS_POSIX - #include <netdb.h> - #include <unistd.h> - #include <arpa/inet.h> - #include <net/if.h> - #include <sys/ioctl.h> - #include <sys/socket.h> - #include <sys/types.h> -#elif OS_WIN - #include <Shellapi.h> - #include <Winsock2.h> -#endif - #include "base/command_line.h" #include "base/logging.h" #include "base/process.h" @@ -24,9 +11,20 @@ #include "base/ref_counted.h" #include "base/scoped_ptr.h" #include "base/test/test_timeouts.h" - #include "chrome/common/chrome_constants.h" -#include "chrome/common/chrome_switches.h" + +#if defined(OS_POSIX) +#include <arpa/inet.h> +#include <net/if.h> +#include <netdb.h> +#include <sys/ioctl.h> +#include <sys/socket.h> +#include <sys/types.h> +#include <unistd.h> +#elif defined(OS_WIN) +#include <Shellapi.h> +#include <Winsock2.h> +#endif namespace webdriver { |