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

Unified Diff: chrome/browser/supervised_user/supervised_user_navigation_observer.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/supervised_user/supervised_user_navigation_observer.cc
diff --git a/chrome/browser/supervised_user/supervised_user_navigation_observer.cc b/chrome/browser/supervised_user/supervised_user_navigation_observer.cc
index 6a8c34f88bb2a9cd83cf482ab05777d8d87d43d8..a24949b6e38027e22bfc383e31e881681eb181e9 100644
--- a/chrome/browser/supervised_user/supervised_user_navigation_observer.cc
+++ b/chrome/browser/supervised_user/supervised_user_navigation_observer.cc
@@ -181,7 +181,7 @@ void SupervisedUserNavigationObserver::WarnInfoBarDismissed() {
void SupervisedUserNavigationObserver::DidCommitProvisionalLoadForFrame(
content::RenderFrameHost* render_frame_host,
const GURL& url,
- content::PageTransition transition_type) {
+ ui::PageTransition transition_type) {
if (render_frame_host->GetParent())
return;
@@ -229,7 +229,7 @@ void SupervisedUserNavigationObserver::OnRequestBlockedInternal(
history::HistoryAddPageArgs add_page_args(
url, timestamp, web_contents(), 0,
url, history::RedirectList(),
- content::PAGE_TRANSITION_BLOCKED, history::SOURCE_BROWSED,
+ ui::PAGE_TRANSITION_BLOCKED, history::SOURCE_BROWSED,
false);
// Add the entry to the history database.

Powered by Google App Engine
This is Rietveld 408576698