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: chrome/browser/search_engines/chrome_template_url_service_client.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 | « chrome/browser/search/search_unittest.cc ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/chrome_template_url_service_client.cc
diff --git a/chrome/browser/search_engines/chrome_template_url_service_client.cc b/chrome/browser/search_engines/chrome_template_url_service_client.cc
index 64cfeb48de7b970ec9a72e64152f3018bb1390f0..a79f2fc7ef9ef84760946f47ccd4e4c90be3427d 100644
--- a/chrome/browser/search_engines/chrome_template_url_service_client.cc
+++ b/chrome/browser/search_engines/chrome_template_url_service_client.cc
@@ -61,7 +61,7 @@ void ChromeTemplateURLServiceClient::AddKeywordGeneratedVisit(const GURL& url) {
if (history_service)
history_service->AddPage(url, base::Time::Now(), NULL, 0, GURL(),
history::RedirectList(),
- content::PAGE_TRANSITION_KEYWORD_GENERATED,
+ ui::PAGE_TRANSITION_KEYWORD_GENERATED,
history::SOURCE_BROWSED, false);
}
@@ -90,7 +90,7 @@ void ChromeTemplateURLServiceClient::Observe(
TemplateURLService::URLVisitedDetails visited_details;
visited_details.url = history_details->row.url();
visited_details.is_keyword_transition =
- content::PageTransitionStripQualifier(history_details->transition) ==
- content::PAGE_TRANSITION_KEYWORD;
+ ui::PageTransitionStripQualifier(history_details->transition) ==
+ ui::PAGE_TRANSITION_KEYWORD;
owner_->OnHistoryURLVisited(visited_details);
}
« no previous file with comments | « chrome/browser/search/search_unittest.cc ('k') | chrome/browser/sessions/session_restore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698