Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4264)

Unified Diff: chrome/test/testing_profile.h

Issue 7357: Makes the following changes to the bookmark bar context menu:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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__

Powered by Google App Engine
This is Rietveld 408576698