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

Unified Diff: chrome/browser/renderer_host/render_view_host_unittest.cc

Issue 28209: Back out r10487 too (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 10 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/renderer_host/render_view_host_unittest.cc
===================================================================
--- chrome/browser/renderer_host/render_view_host_unittest.cc (revision 10505)
+++ chrome/browser/renderer_host/render_view_host_unittest.cc (working copy)
@@ -4,7 +4,6 @@
#include "chrome/browser/renderer_host/test_render_view_host.h"
#include "chrome/browser/tab_contents/navigation_entry.h"
-#include "chrome/common/url_constants.h"
namespace {
@@ -16,7 +15,7 @@
// All about URLs reported by the renderer should get rewritten to about:blank.
// See RenderViewHost::OnMsgNavigate for a discussion.
TEST_F(RenderViewHostTest, FilterAbout) {
- rvh()->SendNavigate(1, GURL(chrome::kAboutCacheURL));
+ rvh()->SendNavigate(1, GURL("about:cache"));
ASSERT_TRUE(controller_->GetActiveEntry());
- EXPECT_EQ(GURL(chrome::kAboutBlankURL), controller_->GetActiveEntry()->url());
+ EXPECT_EQ(GURL("about:blank"), controller_->GetActiveEntry()->url());
}
« no previous file with comments | « chrome/browser/history/url_database.cc ('k') | chrome/browser/renderer_host/renderer_security_policy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698