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

Unified Diff: chrome/browser/web_applications/web_app_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: updates 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/web_applications/web_app_unittest.cc
diff --git a/chrome/browser/web_applications/web_app_unittest.cc b/chrome/browser/web_applications/web_app_unittest.cc
index cff6853a04f941ddad69536e4f2458e16c24efed..b3badd7a9f5afd6d11c22fe21b5b09cae818b4c5 100644
--- a/chrome/browser/web_applications/web_app_unittest.cc
+++ b/chrome/browser/web_applications/web_app_unittest.cc
@@ -22,20 +22,6 @@ class WebApplicationTest : public TabContentsWrapperTestHarness {
}
private:
- // Supply our own profile so we use the correct profile data. The test harness
- // is not supposed to overwrite a profile if it's already created.
- virtual void SetUp() {
- profile_.reset(new TestingProfile());
-
- TabContentsWrapperTestHarness::SetUp();
- }
-
- virtual void TearDown() {
- TabContentsWrapperTestHarness::TearDown();
-
- profile_.reset(NULL);
- }
-
BrowserThread ui_thread_;
};

Powered by Google App Engine
This is Rietveld 408576698