diff options
Diffstat (limited to 'chrome/test/testing_profile.h')
-rw-r--r-- | chrome/test/testing_profile.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h index dac0025..50bd1fe 100644 --- a/chrome/test/testing_profile.h +++ b/chrome/test/testing_profile.h @@ -265,6 +265,13 @@ class TestingProfile : public Profile { virtual DesktopNotificationService* GetDesktopNotificationService() { return NULL; } + virtual FilePath last_selected_directory() { + return last_selected_directory_; + } + virtual void set_last_selected_directory(const FilePath& path) { + last_selected_directory_ = path; + } + // Schedules a task on the history backend and runs a nested loop until the // task is processed. This has the effect of blocking the caller until the @@ -355,6 +362,8 @@ class TestingProfile : public Profile { // Find bar state. Created lazily by GetFindBarState(). scoped_ptr<FindBarState> find_bar_state_; + + FilePath last_selected_directory_; }; // A profile that derives from another profile. This does not actually |