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

Unified Diff: chrome/browser/google/google_search_counter.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
Index: chrome/browser/google/google_search_counter.cc
diff --git a/chrome/browser/google/google_search_counter.cc b/chrome/browser/google/google_search_counter.cc
index 56ec4a6c0c55eaafdd36e8e41a9e0161dcb4b23d..9f4cced75cd19efce95fd23b2e07d1276f25de40 100644
--- a/chrome/browser/google/google_search_counter.cc
+++ b/chrome/browser/google/google_search_counter.cc
@@ -30,8 +30,8 @@ GoogleSearchCounter::GetGoogleSearchAccessPointForSearchNavEntry(
// If the |entry| is FROM_ADDRESS_BAR, it comes from the omnibox; if it's
// GENERATED, the user was doing a search, rather than doing a navigation to a
// search URL (e.g. from hisotry, or pasted in).
- if (entry.GetTransitionType() == (content::PAGE_TRANSITION_GENERATED |
- content::PAGE_TRANSITION_FROM_ADDRESS_BAR)) {
+ if (entry.GetTransitionType() == (ui::PAGE_TRANSITION_GENERATED |
+ ui::PAGE_TRANSITION_FROM_ADDRESS_BAR)) {
return GoogleSearchMetrics::AP_OMNIBOX;
}

Powered by Google App Engine
This is Rietveld 408576698