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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 content::StoragePartition* partition, | 72 content::StoragePartition* partition, |
73 const GURL& url, | 73 const GURL& url, |
74 const base::FilePath& profile_path, | 74 const base::FilePath& profile_path, |
75 bool confirm_untrusted_signin, | 75 bool confirm_untrusted_signin, |
76 const std::string& email, | 76 const std::string& email, |
77 const std::string& gaia_id, | 77 const std::string& gaia_id, |
78 const std::string& password, | 78 const std::string& password, |
79 const std::string& session_index, | 79 const std::string& session_index, |
80 const std::string& auth_code, | 80 const std::string& auth_code, |
81 bool choose_what_to_sync); | 81 bool choose_what_to_sync); |
| 82 FinishCompleteLoginParams(const FinishCompleteLoginParams& other); |
82 ~FinishCompleteLoginParams(); | 83 ~FinishCompleteLoginParams(); |
83 | 84 |
84 // Pointer to WebUI handler. May be nullptr. | 85 // Pointer to WebUI handler. May be nullptr. |
85 InlineLoginHandlerImpl* handler; | 86 InlineLoginHandlerImpl* handler; |
86 // The isolate storage partition containing sign in cookies. | 87 // The isolate storage partition containing sign in cookies. |
87 content::StoragePartition* partition; | 88 content::StoragePartition* partition; |
88 // URL of sign in containing parameters such as email, source, etc. | 89 // URL of sign in containing parameters such as email, source, etc. |
89 GURL url; | 90 GURL url; |
90 // Path to profile being signed in. Non empty only when signing | 91 // Path to profile being signed in. Non empty only when signing |
91 // in to the profile from the user manager. | 92 // in to the profile from the user manager. |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 std::string password_; | 208 std::string password_; |
208 std::string session_index_; | 209 std::string session_index_; |
209 std::string auth_code_; | 210 std::string auth_code_; |
210 bool choose_what_to_sync_; | 211 bool choose_what_to_sync_; |
211 bool confirm_untrusted_signin_; | 212 bool confirm_untrusted_signin_; |
212 | 213 |
213 DISALLOW_COPY_AND_ASSIGN(InlineSigninHelper); | 214 DISALLOW_COPY_AND_ASSIGN(InlineSigninHelper); |
214 }; | 215 }; |
215 | 216 |
216 #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 |