OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 void ReloadGaia(bool force_reload); | 76 void ReloadGaia(bool force_reload); |
77 | 77 |
78 FrameState frame_state() const { return frame_state_; } | 78 FrameState frame_state() const { return frame_state_; } |
79 net::Error frame_error() const { return frame_error_; } | 79 net::Error frame_error() const { return frame_error_; } |
80 | 80 |
81 private: | 81 private: |
82 // TODO (ygorshenin@): remove this dependency. | 82 // TODO (ygorshenin@): remove this dependency. |
83 friend class SigninScreenHandler; | 83 friend class SigninScreenHandler; |
84 | 84 |
85 // BaseScreenHandler implementation: | 85 // BaseScreenHandler implementation: |
86 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) OVERRIDE; | 86 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) override; |
87 virtual void Initialize() OVERRIDE; | 87 virtual void Initialize() override; |
88 | 88 |
89 // WebUIMessageHandler implementation: | 89 // WebUIMessageHandler implementation: |
90 virtual void RegisterMessages() OVERRIDE; | 90 virtual void RegisterMessages() override; |
91 | 91 |
92 // WebUI message handlers. | 92 // WebUI message handlers. |
93 void HandleFrameLoadingCompleted(int status); | 93 void HandleFrameLoadingCompleted(int status); |
94 void HandleCompleteAuthentication(const std::string& email, | 94 void HandleCompleteAuthentication(const std::string& email, |
95 const std::string& password, | 95 const std::string& password, |
96 const std::string& auth_code); | 96 const std::string& auth_code); |
97 void HandleCompleteLogin(const std::string& typed_email, | 97 void HandleCompleteLogin(const std::string& typed_email, |
98 const std::string& password, | 98 const std::string& password, |
99 bool using_saml); | 99 bool using_saml); |
100 | 100 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 SigninScreenHandler* signin_screen_handler_; | 221 SigninScreenHandler* signin_screen_handler_; |
222 | 222 |
223 base::WeakPtrFactory<GaiaScreenHandler> weak_factory_; | 223 base::WeakPtrFactory<GaiaScreenHandler> weak_factory_; |
224 | 224 |
225 DISALLOW_COPY_AND_ASSIGN(GaiaScreenHandler); | 225 DISALLOW_COPY_AND_ASSIGN(GaiaScreenHandler); |
226 }; | 226 }; |
227 | 227 |
228 } // namespace chromeos | 228 } // namespace chromeos |
229 | 229 |
230 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ | 230 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_ |
OLD | NEW |