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_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
11 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
12 #include "base/macros.h" | 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h" | 15 #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h" |
16 #include "chrome/browser/ui/webui/signin/inline_login_handler.h" | 16 #include "chrome/browser/ui/webui/signin/inline_login_handler.h" |
17 #include "google_apis/gaia/gaia_auth_consumer.h" | 17 #include "google_apis/gaia/gaia_auth_consumer.h" |
18 | 18 |
19 // Implementation for the inline login WebUI handler on desktop Chrome. Once | 19 // Implementation for the inline login WebUI handler on desktop Chrome. Once |
20 // CrOS migrates to the same webview approach as desktop Chrome, much of the | 20 // CrOS migrates to the same webview approach as desktop Chrome, much of the |
21 // code in this class should move to its base class |InlineLoginHandler|. | 21 // code in this class should move to its base class |InlineLoginHandler|. |
22 class InlineLoginHandlerImpl : public InlineLoginHandler, | 22 class InlineLoginHandlerImpl : public InlineLoginHandler, |
23 public content::WebContentsObserver { | 23 public content::WebContentsObserver { |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 std::string password_; | 208 std::string password_; |
209 std::string session_index_; | 209 std::string session_index_; |
210 std::string auth_code_; | 210 std::string auth_code_; |
211 bool choose_what_to_sync_; | 211 bool choose_what_to_sync_; |
212 bool confirm_untrusted_signin_; | 212 bool confirm_untrusted_signin_; |
213 | 213 |
214 DISALLOW_COPY_AND_ASSIGN(InlineSigninHelper); | 214 DISALLOW_COPY_AND_ASSIGN(InlineSigninHelper); |
215 }; | 215 }; |
216 | 216 |
217 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ | 217 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ |
OLD | NEW |