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

Unified Diff: chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc

Issue 7892007: Add ChromeRenderViewHostTestHarness to get rid of the dependency from RVHTH to profile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 9 years, 3 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/intents/web_intent_picker_controller_unittest.cc
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc b/chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc
index 407d709cac60c58c164cac8e2bd50a8458535287..958d4094cb2593294fd326e92da9dbcecd21dec9 100644
--- a/chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc
+++ b/chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc
@@ -124,12 +124,12 @@ class WebIntentPickerControllerTest : public TabContentsWrapperTestHarness {
virtual void SetUp() {
TabContentsWrapperTestHarness::SetUp();
- profile_->CreateFaviconService();
- profile_->CreateWebDataService(true);
- web_data_service_ = profile_->GetWebDataService(Profile::EXPLICIT_ACCESS);
- favicon_service_ = profile_->GetFaviconService(Profile::EXPLICIT_ACCESS);
+ profile()->CreateFaviconService();
+ profile()->CreateWebDataService(true);
+ web_data_service_ = profile()->GetWebDataService(Profile::EXPLICIT_ACCESS);
+ favicon_service_ = profile()->GetFaviconService(Profile::EXPLICIT_ACCESS);
WebIntentsRegistry *registry =
- WebIntentsRegistryFactory::GetForProfile(profile_.get());
+ WebIntentsRegistryFactory::GetForProfile(profile());
registry->Initialize(web_data_service_);
picker_factory_ = new WebIntentPickerFactoryMock();
« no previous file with comments | « chrome/browser/ui/find_bar/find_backend_unittest.cc ('k') | chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698