Index: chrome/test/testing_profile.h |
=================================================================== |
--- chrome/test/testing_profile.h (revision 3428) |
+++ chrome/test/testing_profile.h (working copy) |
@@ -50,8 +50,12 @@ |
virtual std::wstring GetPath() { |
return path_; |
} |
+ // Sets whether we're off the record. Default is false. |
+ void set_off_the_record(bool off_the_record) { |
+ off_the_record_ = off_the_record; |
+ } |
virtual bool IsOffTheRecord() { |
- return false; |
+ return off_the_record_; |
} |
virtual Profile* GetOffTheRecordProfile() { |
return NULL; |
@@ -179,6 +183,8 @@ |
bool has_history_service_; |
std::wstring id_; |
+ |
+ bool off_the_record_; |
}; |
#endif // CHROME_TEST_TESTING_PROFILE_H__ |