summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_profile.cc
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 15:43:12 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 15:43:12 +0000
commit151e7e7c5150adee1a6a680d0bee40c92776acd1 (patch)
tree5dbc51d6c492b24d4cbf7e17fa4a9ac9c091dd16 /chrome/test/testing_profile.cc
parent4a9f0b17e67d703fa81deeafbd6612fba0d1eba2 (diff)
downloadchromium_src-151e7e7c5150adee1a6a680d0bee40c92776acd1.zip
chromium_src-151e7e7c5150adee1a6a680d0bee40c92776acd1.tar.gz
chromium_src-151e7e7c5150adee1a6a680d0bee40c92776acd1.tar.bz2
Makes the following changes to the bookmark bar context menu:
. Nukes the open menu item. . Adds open incognito and for folders open all incognito. BUG=144 TEST=Fully test the context menu of bookmark folders/urls. Review URL: http://codereview.chromium.org/7357 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3464 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/testing_profile.cc')
-rw-r--r--chrome/test/testing_profile.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc
index 272f94c..8abb4ec 100644
--- a/chrome/test/testing_profile.cc
+++ b/chrome/test/testing_profile.cc
@@ -43,7 +43,8 @@ class BookmarkLoadObserver : public BookmarkModelObserver {
} // namespace
TestingProfile::TestingProfile()
- : start_time_(Time::Now()), has_history_service_(false) {
+ : start_time_(Time::Now()), has_history_service_(false),
+ off_the_record_(false) {
PathService::Get(base::DIR_TEMP, &path_);
file_util::AppendToPath(&path_, L"TestingProfilePath");
file_util::Delete(path_, true);
@@ -51,7 +52,8 @@ TestingProfile::TestingProfile()
}
TestingProfile::TestingProfile(int count)
- : start_time_(Time::Now()), has_history_service_(false) {
+ : start_time_(Time::Now()), has_history_service_(false),
+ off_the_record_(false) {
PathService::Get(base::DIR_TEMP, &path_);
file_util::AppendToPath(&path_, L"TestingProfilePath" + IntToWString(count));
file_util::Delete(path_, true);