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

Unified Diff: chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc

Issue 181403006: Make TestingProfile auto-create incognito profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove broken and no-longer-applicable test Created 6 years, 9 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/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc
diff --git a/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc b/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc
index 87685c0bf6f22441584e5dff49d9e09b8c864ac0..3763c15ec6088259ecb8436a3b89407f40dde27c 100644
--- a/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc
+++ b/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc
@@ -76,14 +76,6 @@ TEST_F(BookmarkBubbleSignInDelegateTest, OnSignInLinkClicked) {
}
TEST_F(BookmarkBubbleSignInDelegateTest, OnSignInLinkClickedIncognito) {
- // Create an incognito browser.
- TestingProfile::Builder incognito_profile_builder;
- incognito_profile_builder.SetIncognito();
- scoped_ptr<TestingProfile> incognito_profile =
- incognito_profile_builder.Build();
- incognito_profile->SetOriginalProfile(profile());
- profile()->SetOffTheRecordProfile(incognito_profile.PassAs<Profile>());
-
scoped_ptr<BrowserWindow> incognito_window;
incognito_window.reset(CreateBrowserWindow());
Browser::CreateParams params(browser()->profile()->GetOffTheRecordProfile(),
« no previous file with comments | « chrome/browser/profiles/profile_manager_unittest.cc ('k') | chrome/browser/ui/browser_command_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698