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

Unified Diff: components/search_engines/template_url_service_unittest.cc

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
« no previous file with comments | « components/renderer_context_menu/render_view_context_menu_base.cc ('k') | components/sessions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/template_url_service_unittest.cc
diff --git a/components/search_engines/template_url_service_unittest.cc b/components/search_engines/template_url_service_unittest.cc
index b3909de351a7907931a8b39d3013fce66ced8db8..e9937ac451300dad118d8c027dc9b96f893149f1 100644
--- a/components/search_engines/template_url_service_unittest.cc
+++ b/components/search_engines/template_url_service_unittest.cc
@@ -998,7 +998,7 @@ TEST_F(TemplateURLServiceTest, GenerateVisitOnKeyword) {
TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("blah")),
search_terms_data())),
base::Time::Now(), NULL, 0, GURL(), history::RedirectList(),
- content::PAGE_TRANSITION_KEYWORD, history::SOURCE_BROWSED, false);
+ ui::PAGE_TRANSITION_KEYWORD, history::SOURCE_BROWSED, false);
// Wait for history to finish processing the request.
test_util()->profile()->BlockUntilHistoryProcessesPendingRequests();
@@ -1019,8 +1019,8 @@ TEST_F(TemplateURLServiceTest, GenerateVisitOnKeyword) {
EXPECT_TRUE(callback.success);
EXPECT_NE(0, callback.row.id());
ASSERT_EQ(1U, callback.visits.size());
- EXPECT_EQ(content::PAGE_TRANSITION_KEYWORD_GENERATED,
- content::PageTransitionStripQualifier(callback.visits[0].transition));
+ EXPECT_EQ(ui::PAGE_TRANSITION_KEYWORD_GENERATED,
+ ui::PageTransitionStripQualifier(callback.visits[0].transition));
}
// Make sure that the load routine deletes prepopulated engines that no longer
« no previous file with comments | « components/renderer_context_menu/render_view_context_menu_base.cc ('k') | components/sessions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698