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 /chrome/browser/pref_service_uitest.cc | |
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
Diffstat (limited to 'chrome/browser/pref_service_uitest.cc')
-rw-r--r-- | chrome/browser/pref_service_uitest.cc | 5 |
1 files changed, 3 insertions, 2 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_; }; |