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

Unified Diff: chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc

Issue 325443002: Move about://-related constants from //content to //url (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Android ifx Created 6 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
Index: chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
diff --git a/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc b/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
index 767db59cbfe7ee0676fe17e25fedbfbc75eae348..10d8257e46e379f8958c0f9ad2ddde40be4960a0 100644
--- a/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
+++ b/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
@@ -79,8 +79,12 @@ TEST_F(WebDialogWebContentsDelegateTest, DoNothingMethodsTest) {
TEST_F(WebDialogWebContentsDelegateTest, OpenURLFromTabTest) {
test_web_contents_delegate_->OpenURLFromTab(
- NULL, OpenURLParams(GURL(content::kAboutBlankURL), Referrer(),
- NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_LINK, false));
+ NULL,
+ OpenURLParams(GURL(url::kAboutBlankURL),
+ Referrer(),
+ NEW_FOREGROUND_TAB,
+ content::PAGE_TRANSITION_LINK,
+ false));
// This should create a new foreground tab in the existing browser.
EXPECT_EQ(1, browser()->tab_strip_model()->count());
EXPECT_EQ(1U, chrome::GetTotalBrowserCount());
@@ -102,8 +106,12 @@ TEST_F(WebDialogWebContentsDelegateTest, DetachTest) {
EXPECT_EQ(NULL, test_web_contents_delegate_->browser_context());
// Now, none of the following calls should do anything.
test_web_contents_delegate_->OpenURLFromTab(
- NULL, OpenURLParams(GURL(content::kAboutBlankURL), Referrer(),
- NEW_FOREGROUND_TAB, content::PAGE_TRANSITION_LINK, false));
+ NULL,
+ OpenURLParams(GURL(url::kAboutBlankURL),
+ Referrer(),
+ NEW_FOREGROUND_TAB,
+ content::PAGE_TRANSITION_LINK,
+ false));
test_web_contents_delegate_->AddNewContents(NULL, NULL, NEW_FOREGROUND_TAB,
gfx::Rect(), false, NULL);
EXPECT_EQ(0, browser()->tab_strip_model()->count());
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc ('k') | chrome/common/net/url_fixer_upper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698