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

Unified Diff: chrome/browser/captive_portal/captive_portal_tab_helper.cc

Issue 425653002: content: ResourceType cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 5 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/captive_portal/captive_portal_tab_helper.cc
diff --git a/chrome/browser/captive_portal/captive_portal_tab_helper.cc b/chrome/browser/captive_portal/captive_portal_tab_helper.cc
index b3f0f888e119f8273d2c5996f6905c8e3c7755de..2d2c1e18dd83479c83cfe149a92843ce37d5d3a0 100644
--- a/chrome/browser/captive_portal/captive_portal_tab_helper.cc
+++ b/chrome/browser/captive_portal/captive_portal_tab_helper.cc
@@ -194,10 +194,10 @@ bool CaptivePortalTabHelper::IsLoginTab() const {
}
void CaptivePortalTabHelper::OnRedirect(int child_id,
- ResourceType::Type resource_type,
+ ResourceType resource_type,
const GURL& new_url) {
// Only main frame redirects for the provisional RenderViewHost matter.
- if (resource_type != ResourceType::MAIN_FRAME ||
+ if (resource_type != content::RESOURCE_TYPE_MAIN_FRAME ||
!provisional_render_view_host_ ||
provisional_render_view_host_->GetProcess()->GetID() != child_id) {
return;

Powered by Google App Engine
This is Rietveld 408576698