summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_applications
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-14 07:38:17 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-14 07:38:17 +0000
commit93ab5934cb37e79ed6367237eca98cf2ff9d3320 (patch)
treeb355a6f82446d075a8c78d50161863873a06844c /chrome/browser/web_applications
parent9ab0ea353453e0f9a2e97132d86d415ea4192977 (diff)
downloadchromium_src-93ab5934cb37e79ed6367237eca98cf2ff9d3320.zip
chromium_src-93ab5934cb37e79ed6367237eca98cf2ff9d3320.tar.gz
chromium_src-93ab5934cb37e79ed6367237eca98cf2ff9d3320.tar.bz2
Add ChromeRenderViewHostTestHarness to get rid of the dependency from RVHTH to profile
BUG=90443 TEST=everything still works Review URL: http://codereview.chromium.org/7892007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101037 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_applications')
-rw-r--r--chrome/browser/web_applications/web_app_unittest.cc18
1 files changed, 1 insertions, 17 deletions
diff --git a/chrome/browser/web_applications/web_app_unittest.cc b/chrome/browser/web_applications/web_app_unittest.cc
index cff6853..8219e69 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_;
};