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

Unified Diff: chrome/browser/ui/cocoa/browser_test_helper.cc

Issue 7621031: Revert 97049 - Trying to see if it fixes sync_integration_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
« no previous file with comments | « chrome/browser/ui/cocoa/browser_test_helper.h ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_test_helper.cc
===================================================================
--- chrome/browser/ui/cocoa/browser_test_helper.cc (revision 97074)
+++ chrome/browser/ui/cocoa/browser_test_helper.cc (working copy)
@@ -20,8 +20,6 @@
profile_->CreateAutocompleteClassifier();
profile_->CreateTemplateURLService();
- SetUpProfileManager();
-
browser_.reset(new Browser(Browser::TYPE_TABBED, profile_.get()));
}
@@ -58,11 +56,3 @@
// |browser_| will be deleted by its BrowserWindowController.
ignore_result(browser_.release());
}
-
-void BrowserTestHelper::SetUpProfileManager() {
- profile_manager_ = new TestingProfileManager; // Owned by browser_process_.
- browser_process()->SetProfileManager(profile_manager_);
-
- profile_info_.reset(profile_manager_->CreateFakeInfo("Testing Profile"));
- profile_manager_->AddTestingProfile(profile(), profile_info_.get());
-}
« no previous file with comments | « chrome/browser/ui/cocoa/browser_test_helper.h ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698