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

Unified Diff: chrome/renderer/safe_browsing/phishing_classifier_delegate.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/renderer/safe_browsing/phishing_classifier_delegate.cc
diff --git a/chrome/renderer/safe_browsing/phishing_classifier_delegate.cc b/chrome/renderer/safe_browsing/phishing_classifier_delegate.cc
index cd120ed2589ba4418dab19b3e4fcffb660dcd529..dc180d2236befd9db2c10a4fb0b9842c2e2eb208 100644
--- a/chrome/renderer/safe_browsing/phishing_classifier_delegate.cc
+++ b/chrome/renderer/safe_browsing/phishing_classifier_delegate.cc
@@ -96,7 +96,7 @@ PhishingClassifierDelegate::PhishingClassifierDelegate(
content::RenderView* render_view,
PhishingClassifier* classifier)
: content::RenderViewObserver(render_view),
- last_main_frame_transition_(content::PAGE_TRANSITION_LINK),
+ last_main_frame_transition_(ui::PAGE_TRANSITION_LINK),
have_page_text_(false),
is_classifying_(false) {
g_delegates.Get().insert(this);
@@ -240,7 +240,7 @@ void PhishingClassifierDelegate::MaybeStartClassification() {
return;
}
- if (last_main_frame_transition_ & content::PAGE_TRANSITION_FORWARD_BACK) {
+ if (last_main_frame_transition_ & ui::PAGE_TRANSITION_FORWARD_BACK) {
// Skip loads from session history navigation. However, update the
// last URL sent to the classifier, so that we'll properly detect
// in-page navigations.
« no previous file with comments | « chrome/renderer/safe_browsing/phishing_classifier_delegate.h ('k') | chrome/test/base/browser_with_test_window_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698