1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_INLINE_LOGIN_HANDLER_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_INLINE_LOGIN_HANDLER_CHROMEOS_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/ui/webui/signin/inline_login_handler.h"
13 class OAuth2TokenFetcher
;
15 // Implementation for the inline login WebUI handler on ChromeOS.
16 class InlineLoginHandlerChromeOS
: public ::InlineLoginHandler
{
18 InlineLoginHandlerChromeOS();
19 ~InlineLoginHandlerChromeOS() override
;
22 class InlineLoginUIOAuth2Delegate
;
24 // InlineLoginHandler overrides:
25 void CompleteLogin(const base::ListValue
* args
) override
;
27 scoped_ptr
<InlineLoginUIOAuth2Delegate
> oauth2_delegate_
;
28 scoped_ptr
<chromeos::OAuth2TokenFetcher
> oauth2_token_fetcher_
;
30 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerChromeOS
);
33 } // namespace chromeos
35 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_INLINE_LOGIN_HANDLER_CHROMEOS_H_