diff options
Diffstat (limited to 'chrome/test/testing_profile.h')
-rw-r--r-- | chrome/test/testing_profile.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h index ee4b601..1e39f8a 100644 --- a/chrome/test/testing_profile.h +++ b/chrome/test/testing_profile.h @@ -45,6 +45,12 @@ class TestingProfile : public Profile { // time. explicit TestingProfile(int count); + // Creates a new profile specifying the target directory. + // Use this as a temporary solution for tests requiring a ScopedTempDir. + // This directory must already exist. + // TODO(chron): Use a ScopedTempDir. Remove constructor. BUG=51833 + explicit TestingProfile(const FilePath& directory); + virtual ~TestingProfile(); // Creates the favicon service. Consequent calls would recreate the service. |