diff options
Diffstat (limited to 'chrome/test/testing_profile.cc')
-rw-r--r-- | chrome/test/testing_profile.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc index e0a3968..6292079 100644 --- a/chrome/test/testing_profile.cc +++ b/chrome/test/testing_profile.cc @@ -169,6 +169,15 @@ TestingProfile::TestingProfile(int count) file_util::CreateDirectory(path_); } +TestingProfile::TestingProfile(const FilePath& path) + : start_time_(Time::Now()), + created_theme_provider_(false), + has_history_service_(false), + off_the_record_(false), + last_session_exited_cleanly_(true) { + path_ = path; +} + TestingProfile::~TestingProfile() { NotificationService::current()->Notify( NotificationType::PROFILE_DESTROYED, |