Index: chrome/browser/chromeos/login/ui/login_display_host_impl.cc |
diff --git a/chrome/browser/chromeos/login/ui/login_display_host_impl.cc b/chrome/browser/chromeos/login/ui/login_display_host_impl.cc |
index 484bd47d237db6dcb78992d873bf819051f998c9..d1d1185ca197026de4a76b03619f9e5d4f30ab34 100644 |
--- a/chrome/browser/chromeos/login/ui/login_display_host_impl.cc |
+++ b/chrome/browser/chromeos/login/ui/login_display_host_impl.cc |
@@ -72,7 +72,6 @@ |
#include "components/session_manager/core/session_manager.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
-#include "content/public/browser/render_frame_host.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_ui.h" |
#include "media/audio/sounds/sounds_manager.h" |
@@ -208,13 +207,6 @@ void EnableSystemSoundsForAccessibility() { |
chromeos::AccessibilityManager::Get()->EnableSystemSounds(true); |
} |
-void AddToSetIfIsGaiaAuthIframe(std::set<content::RenderFrameHost*>* frame_set, |
- content::RenderFrameHost* frame) { |
- content::RenderFrameHost* parent = frame->GetParent(); |
- if (parent && parent->GetFrameName() == "signin-frame") |
- frame_set->insert(frame); |
-} |
- |
// A login implementation of WidgetDelegate. |
class LoginWidgetDelegate : public views::WidgetDelegate { |
public: |
@@ -267,16 +259,6 @@ LoginDisplayHost* LoginDisplayHostImpl::default_host_ = NULL; |
// static |
const int LoginDisplayHostImpl::kShowLoginWebUIid = 0x1111; |
-// static |
-content::RenderFrameHost* LoginDisplayHostImpl::GetGaiaAuthIframe( |
- content::WebContents* web_contents) { |
- std::set<content::RenderFrameHost*> frame_set; |
- web_contents->ForEachFrame( |
- base::Bind(&AddToSetIfIsGaiaAuthIframe, &frame_set)); |
- DCHECK_EQ(1U, frame_set.size()); |
- return *frame_set.begin(); |
-} |
- |
//////////////////////////////////////////////////////////////////////////////// |
// LoginDisplayHostImpl, public |