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

Unified Diff: chrome/browser/ui/toolbar/toolbar_model_unittest.cc

Issue 328713006: Merge 275988 "Move about://-related constants from //content to ..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2042/src/
Patch Set: 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/toolbar/toolbar_model_unittest.cc
===================================================================
--- chrome/browser/ui/toolbar/toolbar_model_unittest.cc (revision 276109)
+++ chrome/browser/ui/toolbar/toolbar_model_unittest.cc (working copy)
@@ -65,9 +65,9 @@
true
},
{
- GURL(content::kAboutBlankURL),
- base::ASCIIToUTF16(content::kAboutBlankURL),
- base::ASCIIToUTF16(content::kAboutBlankURL),
+ GURL(url::kAboutBlankURL),
+ base::ASCIIToUTF16(url::kAboutBlankURL),
+ base::ASCIIToUTF16(url::kAboutBlankURL),
base::string16(),
false,
true
@@ -253,7 +253,7 @@
// Test that we only replace URLs when query extraction and URL replacement
// are enabled.
TEST_F(ToolbarModelTest, ShouldDisplayURL_QueryExtraction) {
- AddTab(browser(), GURL(content::kAboutBlankURL));
+ AddTab(browser(), GURL(url::kAboutBlankURL));
// Before we enable instant extended, query extraction is disabled.
EXPECT_FALSE(chrome::IsQueryExtractionEnabled())
@@ -290,7 +290,7 @@
// enabled.
TEST_F(ToolbarModelTest, ShouldDisplayURL_OriginChip) {
EnableOriginChipFieldTrial();
- AddTab(browser(), GURL(content::kAboutBlankURL));
+ AddTab(browser(), GURL(url::kAboutBlankURL));
// Check each case with the origin chip enabled but query extraction disabled.
EXPECT_TRUE(chrome::ShouldDisplayOriginChip());
@@ -325,7 +325,7 @@
// Verify that search terms are extracted while the page is loading.
TEST_F(ToolbarModelTest, SearchTermsWhileLoading) {
chrome::EnableQueryExtractionForTesting();
- AddTab(browser(), GURL(content::kAboutBlankURL));
+ AddTab(browser(), GURL(url::kAboutBlankURL));
// While loading, we should be willing to extract search terms.
content::NavigationController* controller =
@@ -351,7 +351,7 @@
// secure.
TEST_F(ToolbarModelTest, GoogleBaseURL) {
chrome::EnableQueryExtractionForTesting();
- AddTab(browser(), GURL(content::kAboutBlankURL));
+ AddTab(browser(), GURL(url::kAboutBlankURL));
// If the Google base URL wasn't specified on the command line, then if it's
// HTTP, we should not extract search terms.
@@ -375,7 +375,7 @@
// ignores whether the origin chip is enabled and only respects the query
// extraction flag.
TEST_F(PopupToolbarModelTest, ShouldDisplayURL) {
- AddTab(browser(), GURL(content::kAboutBlankURL));
+ AddTab(browser(), GURL(url::kAboutBlankURL));
// Check with neither query extraction nor the origin chip enabled.
EXPECT_FALSE(chrome::ShouldDisplayOriginChip());

Powered by Google App Engine
This is Rietveld 408576698