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

Side by Side Diff: chrome/browser/ui/webui/signin/inline_login_handler_impl.h

Issue 134263005: Implement inline signin with iframe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for various iframe bugs Created 6 years, 10 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h" 10 #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h"
(...skipping 25 matching lines...) Expand all
36 // JS callback to switch the UI from a constrainted dialog to a full tab. 36 // JS callback to switch the UI from a constrainted dialog to a full tab.
37 void HandleSwitchToFullTabMessage(const base::ListValue* args); 37 void HandleSwitchToFullTabMessage(const base::ListValue* args);
38 void HandleLoginError(const std::string& error_msg); 38 void HandleLoginError(const std::string& error_msg);
39 void SyncStarterCallback(OneClickSigninSyncStarter::SyncSetupResult result); 39 void SyncStarterCallback(OneClickSigninSyncStarter::SyncSetupResult result);
40 void CloseTab(); 40 void CloseTab();
41 41
42 base::WeakPtrFactory<InlineLoginHandlerImpl> weak_factory_; 42 base::WeakPtrFactory<InlineLoginHandlerImpl> weak_factory_;
43 scoped_ptr<GaiaAuthFetcher> auth_fetcher_; 43 scoped_ptr<GaiaAuthFetcher> auth_fetcher_;
44 std::string email_; 44 std::string email_;
45 std::string password_; 45 std::string password_;
46 std::string session_index_;
46 bool choose_what_to_sync_; 47 bool choose_what_to_sync_;
47 // Partition id for the gaia webview;
48 std::string partition_id_;
49 48
50 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerImpl); 49 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerImpl);
51 }; 50 };
52 51
53 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ 52 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_handler.h ('k') | chrome/browser/ui/webui/signin/inline_login_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698