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

Unified Diff: chrome/browser/web_applications/web_app_unittest.cc

Issue 10542010: TabContentsWrapper -> TabContents, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, rename Created 8 years, 6 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/webui/web_ui_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 a3a41b3743416b23518373628e7f871f58a3b3b2..f1899000267e9c618b65db4200e4cf8b6e984ece 100644
--- a/chrome/browser/web_applications/web_app_unittest.cc
+++ b/chrome/browser/web_applications/web_app_unittest.cc
@@ -7,7 +7,7 @@
#include "base/file_path.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
-#include "chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h"
+#include "chrome/browser/ui/tab_contents/test_tab_contents.h"
#include "chrome/browser/ui/web_applications/web_app_ui.h"
#include "chrome/common/extensions/extension_messages.h"
#include "chrome/test/base/testing_profile.h"
@@ -18,7 +18,7 @@
using content::BrowserThread;
using content::RenderViewHostTester;
-class WebApplicationTest : public TabContentsWrapperTestHarness {
+class WebApplicationTest : public TabContentsTestHarness {
public:
WebApplicationTest() : ui_thread_(BrowserThread::UI, &message_loop_) {
}
@@ -40,7 +40,7 @@ TEST_F(WebApplicationTest, GetShortcutInfoForTab) {
rvh(),
ExtensionHostMsg_DidGetApplicationInfo(0, 0, web_app_info));
ShellIntegration::ShortcutInfo info;
- web_app::GetShortcutInfoForTab(contents_wrapper(), &info);
+ web_app::GetShortcutInfoForTab(tab_contents(), &info);
EXPECT_EQ(title, info.title);
EXPECT_EQ(description, info.description);
« no previous file with comments | « chrome/browser/ui/webui/web_ui_unittest.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698