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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page.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/safe_browsing/safe_browsing_blocking_page.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (revision 105162)
+++ chrome/browser/safe_browsing/safe_browsing_blocking_page.cc (working copy)
@@ -435,14 +435,14 @@
} else {
NOTREACHED();
}
- tab()->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::LINK);
+ tab()->OpenURL(url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_LINK);
return;
}
if (command == kShowPrivacyCommand) {
// User pressed "Safe Browsing privacy policy".
GURL url(kSbPrivacyPolicyUrl);
- tab()->OpenURL(url, GURL(), CURRENT_TAB, PageTransition::LINK);
+ tab()->OpenURL(url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_LINK);
return;
}
@@ -490,7 +490,8 @@
kSbReportPhishingErrorUrl,
bad_url_spec,
threat_type == SafeBrowsingService::CLIENT_SIDE_PHISHING_URL);
- tab()->OpenURL(report_url, GURL(), CURRENT_TAB, PageTransition::LINK);
+ tab()->OpenURL(
+ report_url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_LINK);
return;
}
@@ -503,7 +504,8 @@
diagnostic_url = google_util::AppendGoogleLocaleParam(diagnostic_url);
DCHECK(unsafe_resources_[element_index].threat_type ==
SafeBrowsingService::URL_MALWARE);
- tab()->OpenURL(diagnostic_url, GURL(), CURRENT_TAB, PageTransition::LINK);
+ tab()->OpenURL(
+ diagnostic_url, GURL(), CURRENT_TAB, content::PAGE_TRANSITION_LINK);
return;
}

Powered by Google App Engine
This is Rietveld 408576698