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

Unified Diff: chrome/renderer/safe_browsing/phishing_classifier_delegate.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/renderer/safe_browsing/phishing_classifier_delegate.cc
===================================================================
--- chrome/renderer/safe_browsing/phishing_classifier_delegate.cc (revision 105162)
+++ chrome/renderer/safe_browsing/phishing_classifier_delegate.cc (working copy)
@@ -89,7 +89,7 @@
content::RenderView* render_view,
PhishingClassifier* classifier)
: content::RenderViewObserver(render_view),
- last_main_frame_transition_(PageTransition::LINK),
+ last_main_frame_transition_(content::PAGE_TRANSITION_LINK),
have_page_text_(false),
is_classifying_(false) {
g_delegates.Get().insert(this);
@@ -232,7 +232,7 @@
return;
}
- if (last_main_frame_transition_ & PageTransition::FORWARD_BACK) {
+ if (last_main_frame_transition_ & content::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