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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/inline_login_handler_cros_impl.h

Issue 118343003: Refactor inline_login_ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_INLINE_LOGIN_HANDLER_CROS_IMPL_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_INLINE_LOGIN_HANDLER_CROS_IMPL_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/ui/webui/signin/inline_login_handler.h"
10
11 namespace chromeos {
12
13 class OAuth2TokenFetcher;
14
15 // Implementation for the inline login WebUI handler on ChromeOS.
16 class InlineLoginHandlerCrosImpl : public ::InlineLoginHandler {
xiyuan 2013/12/18 21:27:59 nit: Suggest to call it InlineLoginHandlerChromeOS
guohui 2013/12/18 22:39:17 Done.
17 public:
18 explicit InlineLoginHandlerCrosImpl();
19 virtual ~InlineLoginHandlerCrosImpl();
20
21 private:
22 // InlineLoginHandler overrides:
23 virtual void CompleteLogin(const base::ListValue* args) OVERRIDE;
24
25 class InlineLoginUIOAuth2Delegate;
xiyuan 2013/12/18 21:27:59 nit: move this to immediate after private:
guohui 2013/12/18 22:39:17 Done.
26 scoped_ptr<InlineLoginUIOAuth2Delegate> oauth2_delegate_;
27 scoped_ptr<chromeos::OAuth2TokenFetcher> oauth2_token_fetcher_;
28
29 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerCrosImpl);
30 };
31
32 } // namespace chromeos
33
34 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_INLINE_LOGIN_HANDLER_CROS_IMPL _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698