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

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

Issue 118343003: Refactor inline_login_ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added owner file 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_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_INLINE_LOGIN_HANDLER_CHROMEOS_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 InlineLoginHandlerChromeOS : public ::InlineLoginHandler {
17 public:
18 explicit InlineLoginHandlerCrosImpl();
xiyuan 2013/12/18 23:22:50 nit: remove explicit
guohui 2013/12/19 15:23:15 Done.
19 virtual ~InlineLoginHandlerCrosImpl();
20
21 private:
22 class InlineLoginUIOAuth2Delegate;
23
24 // InlineLoginHandler overrides:
25 virtual void CompleteLogin(const base::ListValue* args) OVERRIDE;
26
27 scoped_ptr<InlineLoginUIOAuth2Delegate> oauth2_delegate_;
28 scoped_ptr<chromeos::OAuth2TokenFetcher> oauth2_token_fetcher_;
29
30 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerCrosImpl);
31 };
32
33 } // namespace chromeos
34
35 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_INLINE_LOGIN_HANDLER_CHROMEOS_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698