| Index: chrome/test/testing_profile.h
|
| diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
|
| index 70e308569aa0064d230a3aed4387a4ee270ea5a0..4676f037c098ca8b00e38db3c802bff112c4da27 100644
|
| --- a/chrome/test/testing_profile.h
|
| +++ b/chrome/test/testing_profile.h
|
| @@ -261,6 +261,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
|
| @@ -351,6 +358,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
|
|
|