diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 01:11:59 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 01:11:59 +0000 |
commit | 84a059d23ee3ced8d51f8b6e651ae675f1310637 (patch) | |
tree | a8482518a28870d3758063f09b0280d0156db7e9 | |
parent | 57a777f7584961290e87e6e4149c0ed042334425 (diff) | |
download | chromium_src-84a059d23ee3ced8d51f8b6e651ae675f1310637.zip chromium_src-84a059d23ee3ced8d51f8b6e651ae675f1310637.tar.gz chromium_src-84a059d23ee3ced8d51f8b6e651ae675f1310637.tar.bz2 |
cleanup: Include base/path_service.h in tests that use it.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1571004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43163 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/pref_service_uitest.cc | 5 | ||||
-rw-r--r-- | chrome/test/nacl/nacl_test.cc | 1 | ||||
-rw-r--r-- | chrome/test/plugin/plugin_test.cpp | 1 | ||||
-rw-r--r-- | chrome/test/tab_switching/tab_switching_test.cc | 1 | ||||
-rw-r--r-- | chrome/test/ui/dom_checker_uitest.cc | 1 | ||||
-rw-r--r-- | chrome/test/ui/ui_layout_test.cc | 1 | ||||
-rw-r--r-- | chrome/test/url_fetch_test/url_fetch_test.cc | 1 | ||||
-rw-r--r-- | chrome_frame/test/perf/chrome_frame_perftest.cc | 4 |
8 files changed, 11 insertions, 4 deletions
diff --git a/chrome/browser/pref_service_uitest.cc b/chrome/browser/pref_service_uitest.cc index 5d29691..79f00d3 100644 --- a/chrome/browser/pref_service_uitest.cc +++ b/chrome/browser/pref_service_uitest.cc @@ -6,6 +6,7 @@ #include "base/command_line.h" #include "base/file_util.h" +#include "base/path_service.h" #include "base/test/test_file_util.h" #include "base/values.h" #include "build/build_config.h" @@ -19,7 +20,7 @@ #include "gfx/rect.h" class PreferenceServiceTest : public UITest { -public: + public: void SetUp() { PathService::Get(base::DIR_TEMP, &tmp_profile_); tmp_profile_ = tmp_profile_.AppendASCII("tmp_profile"); @@ -65,7 +66,7 @@ public: EXPECT_TRUE(file_util::DieFileDie(tmp_profile_, true)); } -public: + public: FilePath tmp_pref_file_; FilePath tmp_profile_; }; diff --git a/chrome/test/nacl/nacl_test.cc b/chrome/test/nacl/nacl_test.cc index 456cc1d..c74383d 100644 --- a/chrome/test/nacl/nacl_test.cc +++ b/chrome/test/nacl/nacl_test.cc @@ -5,6 +5,7 @@ #include "chrome/test/nacl/nacl_test.h" #include "base/file_util.h" +#include "base/path_service.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_switches.h" #include "chrome/test/automation/tab_proxy.h" diff --git a/chrome/test/plugin/plugin_test.cpp b/chrome/test/plugin/plugin_test.cpp index b9a1011..a003e95 100644 --- a/chrome/test/plugin/plugin_test.cpp +++ b/chrome/test/plugin/plugin_test.cpp @@ -50,6 +50,7 @@ #include "base/file_path.h" #include "base/file_util.h" +#include "base/path_service.h" #include "base/registry.h" #include "chrome/browser/net/url_request_mock_http_job.h" #include "chrome/common/chrome_switches.h" diff --git a/chrome/test/tab_switching/tab_switching_test.cc b/chrome/test/tab_switching/tab_switching_test.cc index 4247614..74c6f25 100644 --- a/chrome/test/tab_switching/tab_switching_test.cc +++ b/chrome/test/tab_switching/tab_switching_test.cc @@ -5,6 +5,7 @@ #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" +#include "base/path_service.h" #include "base/platform_thread.h" #include "base/time.h" #include "chrome/app/chrome_dll_resource.h" diff --git a/chrome/test/ui/dom_checker_uitest.cc b/chrome/test/ui/dom_checker_uitest.cc index 2f3d858..f235423 100644 --- a/chrome/test/ui/dom_checker_uitest.cc +++ b/chrome/test/ui/dom_checker_uitest.cc @@ -5,6 +5,7 @@ #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" +#include "base/path_service.h" #include "base/scoped_ptr.h" #include "base/string_util.h" #include "base/values.h" diff --git a/chrome/test/ui/ui_layout_test.cc b/chrome/test/ui/ui_layout_test.cc index 2c7dfdc..8c31394 100644 --- a/chrome/test/ui/ui_layout_test.cc +++ b/chrome/test/ui/ui_layout_test.cc @@ -5,6 +5,7 @@ #include "chrome/test/ui/ui_layout_test.h" #include "base/file_util.h" +#include "base/path_service.h" #include "base/string_util.h" #include "base/test/test_file_util.h" #include "chrome/common/chrome_paths.h" diff --git a/chrome/test/url_fetch_test/url_fetch_test.cc b/chrome/test/url_fetch_test/url_fetch_test.cc index ef2f392..d4d3287 100644 --- a/chrome/test/url_fetch_test/url_fetch_test.cc +++ b/chrome/test/url_fetch_test/url_fetch_test.cc @@ -5,6 +5,7 @@ #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" +#include "base/path_service.h" #include "base/string_util.h" #include "chrome/common/chrome_paths.h" #include "chrome/test/automation/tab_proxy.h" diff --git a/chrome_frame/test/perf/chrome_frame_perftest.cc b/chrome_frame/test/perf/chrome_frame_perftest.cc index 2433239..a3d3b99 100644 --- a/chrome_frame/test/perf/chrome_frame_perftest.cc +++ b/chrome_frame/test/perf/chrome_frame_perftest.cc @@ -11,7 +11,8 @@ #include "chrome_tab.h" // Generated from chrome_tab.idl. -#include "base/file_util.h" +#include "base/file_path.h" +#include "base/path_service.h" #include "base/process_util.h" #include "base/registry.h" #include "base/scoped_ptr.h" @@ -453,7 +454,6 @@ class ChromeFrameStartupTestActiveXReference // is based on the chrome\test\memory_test.cc. We need to factor out // the common code. class ChromeFrameMemoryTest : public ChromeFramePerfTestBase { - // Contains information about the memory consumption of a process. class ProcessMemoryInfo { public: |