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

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

Issue 9838009: Clean up a few TODO items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 0c4f39ea44edc08f8966d71e9dbf0936bd460e00..689003db7bebee488d1129a8222b24651f3cf212 100644
--- a/chrome/browser/web_applications/web_app_unittest.cc
+++ b/chrome/browser/web_applications/web_app_unittest.cc
@@ -16,6 +16,7 @@
#include "testing/gtest/include/gtest/gtest.h"
using content::BrowserThread;
+using content::RenderViewHostTester;
class WebApplicationTest : public TabContentsWrapperTestHarness {
public:
@@ -35,7 +36,8 @@ TEST_F(WebApplicationTest, GetShortcutInfoForTab) {
web_app_info.description = description;
web_app_info.app_url = url;
- rvh_tester()->TestOnMessageReceived(
+ RenderViewHostTester::TestOnMessageReceived(
+ rvh(),
ExtensionHostMsg_DidGetApplicationInfo(0, 0, web_app_info));
ShellIntegration::ShortcutInfo info;
web_app::GetShortcutInfoForTab(contents_wrapper(), &info);
« no previous file with comments | « chrome/browser/translate/translate_manager_browsertest.cc ('k') | chrome/test/base/chrome_render_view_host_test_harness.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698