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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.h
diff --git a/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.h b/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.h
new file mode 100644
index 0000000000000000000000000000000000000000..01b5f763506c8e750e354b75ff2515e1abef69f1
--- /dev/null
+++ b/chrome/browser/ui/webui/chromeos/login/inline_login_handler_chromeos.h
@@ -0,0 +1,35 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_INLINE_LOGIN_HANDLER_CHROMEOS_H_
+#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_INLINE_LOGIN_HANDLER_CHROMEOS_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "chrome/browser/ui/webui/signin/inline_login_handler.h"
+
+namespace chromeos {
+
+class OAuth2TokenFetcher;
+
+// Implementation for the inline login WebUI handler on ChromeOS.
+class InlineLoginHandlerChromeOS : public ::InlineLoginHandler {
+ public:
+ explicit InlineLoginHandlerCrosImpl();
xiyuan 2013/12/18 23:22:50 nit: remove explicit
guohui 2013/12/19 15:23:15 Done.
+ virtual ~InlineLoginHandlerCrosImpl();
+
+ private:
+ class InlineLoginUIOAuth2Delegate;
+
+ // InlineLoginHandler overrides:
+ virtual void CompleteLogin(const base::ListValue* args) OVERRIDE;
+
+ scoped_ptr<InlineLoginUIOAuth2Delegate> oauth2_delegate_;
+ scoped_ptr<chromeos::OAuth2TokenFetcher> oauth2_token_fetcher_;
+
+ DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerCrosImpl);
+};
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_INLINE_LOGIN_HANDLER_CHROMEOS_H_

Powered by Google App Engine
This is Rietveld 408576698