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

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: 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
« no previous file with comments | « chrome/browser/visitedlink/visitedlink_unittest.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8219e6971709e72c27417cc3c7612a279b96f0ea 100644
--- a/chrome/browser/web_applications/web_app_unittest.cc
+++ b/chrome/browser/web_applications/web_app_unittest.cc
@@ -16,26 +16,10 @@
class WebApplicationTest : public TabContentsWrapperTestHarness {
public:
- WebApplicationTest()
- : TabContentsWrapperTestHarness(),
- ui_thread_(BrowserThread::UI, &message_loop_) {
+ WebApplicationTest() : ui_thread_(BrowserThread::UI, &message_loop_) {
}
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_;
};
« no previous file with comments | « chrome/browser/visitedlink/visitedlink_unittest.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698