Chromium Code Reviews| Index: chrome/browser/ui/webui/signin/inline_login_handler_impl.h |
| diff --git a/chrome/browser/ui/webui/signin/inline_login_handler_impl.h b/chrome/browser/ui/webui/signin/inline_login_handler_impl.h |
| index b5815adaab1fed931afae97dc7b949ec097be99c..e6040d2df32cb5ac5ef6bb207f74960199f4eb69 100644 |
| --- a/chrome/browser/ui/webui/signin/inline_login_handler_impl.h |
| +++ b/chrome/browser/ui/webui/signin/inline_login_handler_impl.h |
| @@ -60,6 +60,34 @@ class InlineLoginHandlerImpl : public InlineLoginHandler, |
| void SetExtraInitParams(base::DictionaryValue& params) override; |
| void CompleteLogin(const base::ListValue* args) override; |
| + struct FinishCompleteLoginParams { |
| + public: |
| + FinishCompleteLoginParams(InlineLoginHandlerImpl* handler, |
| + content::StoragePartition* partition, |
| + const GURL& url, |
| + bool confirm_untrusted_signin, |
| + const std::string& email, |
| + const std::string& gaia_id, |
| + const std::string& password, |
| + const std::string& session_index, |
| + bool choose_what_to_sync); |
| + ~FinishCompleteLoginParams(); |
| + |
| + InlineLoginHandlerImpl* handler; |
| + content::StoragePartition* partition; |
| + GURL url; |
| + bool confirm_untrusted_signin; |
| + std::string email; |
| + std::string gaia_id; |
| + std::string password; |
| + std::string session_index; |
| + bool choose_what_to_sync; |
| + }; |
| + |
| + static void FinishCompleteLogin(const FinishCompleteLoginParams& params, |
|
Alexei Svitkine (slow)
2015/07/23 21:49:34
I think the specific params should be documented s
Roger Tawa OOO till Jul 10th
2015/07/24 16:15:12
Done.
|
| + Profile* profile, |
| + Profile::CreateStatus); |
|
Alexei Svitkine (slow)
2015/07/23 21:49:34
Name the last param.
Roger Tawa OOO till Jul 10th
2015/07/24 16:15:12
Done.
|
| + |
| // Overridden from content::WebContentsObserver overrides. |
| void DidCommitProvisionalLoadForFrame( |
| content::RenderFrameHost* render_frame_host, |