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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_uitest.cc

Issue 7049010: Finish removing url_constants from content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: constants Created 9 years, 7 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: content/browser/renderer_host/resource_dispatcher_host_uitest.cc
diff --git a/content/browser/renderer_host/resource_dispatcher_host_uitest.cc b/content/browser/renderer_host/resource_dispatcher_host_uitest.cc
index 7f2117149677ac87191ef857e63e5e90e90c2a1e..1bd685bd1f6b274ea2d66289ffa32b90f8880f3e 100644
--- a/content/browser/renderer_host/resource_dispatcher_host_uitest.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host_uitest.cc
@@ -12,7 +12,6 @@
#include "base/test/test_timeouts.h"
#include "chrome/browser/net/url_request_failed_dns_job.h"
#include "chrome/browser/net/url_request_mock_http_job.h"
-#include "chrome/common/url_constants.h"
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
#include "chrome/test/ui/ui_test.h"
@@ -279,7 +278,7 @@ TEST_F(ResourceDispatcherTest, FAILS_CrossSiteAfterCrash) {
#if defined(OS_WIN) || defined(USE_LINUX_BREAKPAD)
expected_crashes_ = 1;
#endif
- ASSERT_TRUE(tab->NavigateToURLAsync(GURL(chrome::kAboutCrashURL)));
+ ASSERT_TRUE(tab->NavigateToURLAsync(GURL("about:crash")));
// Wait for browser to notice the renderer crash.
base::PlatformThread::Sleep(TestTimeouts::action_timeout_ms());
@@ -384,7 +383,7 @@ TEST_F(ResourceDispatcherTest, CrossSiteFailedRequest) {
ASSERT_TRUE(tab.get());
// Visit another URL first to trigger a cross-site navigation.
- GURL url(chrome::kChromeUINewTabURL);
+ GURL url("chrome://newtab");
jam 2011/05/24 01:25:47 nit: here too
ASSERT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, tab->NavigateToURL(url));
// Visit a URL that fails without calling ResourceDispatcherHost::Read.

Powered by Google App Engine
This is Rietveld 408576698