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

Unified Diff: chrome/browser/search_engines/template_url_service.cc

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/search_engines/template_url_service.cc
===================================================================
--- chrome/browser/search_engines/template_url_service.cc (revision 105162)
+++ chrome/browser/search_engines/template_url_service.cc (working copy)
@@ -1262,8 +1262,8 @@
}
built_terms = true;
- if (PageTransition::StripQualifier(details.transition) ==
- PageTransition::KEYWORD) {
+ if (content::PageTransitionStripQualifier(details.transition) ==
+ content::PAGE_TRANSITION_KEYWORD) {
// The visit is the result of the user entering a keyword, generate a
// KEYWORD_GENERATED visit for the KEYWORD so that the keyword typed
// count is boosted.
@@ -1306,7 +1306,7 @@
// Synthesize a visit for the keyword. This ensures the url for the keyword is
// autocompleted even if the user doesn't type the url in directly.
history->AddPage(url, NULL, 0, GURL(),
- PageTransition::KEYWORD_GENERATED,
+ content::PAGE_TRANSITION_KEYWORD_GENERATED,
history::RedirectList(), history::SOURCE_BROWSED, false);
}

Powered by Google App Engine
This is Rietveld 408576698