| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SYNC_ONE_CLICK_SIGNIN_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_DIALOG_H_ |
| 6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_DIALOG_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 class Profile; | 11 class Profile; |
| 12 | 12 |
| 13 // Shows a dialog with more information about one click signin and waits for | 13 // Shows a dialog with more information about one click signin and waits for |
| 14 // confirmation from the user. The implementation of this function is platform | 14 // confirmation from the user. The implementation of this function is platform |
| 15 // specific. | 15 // specific. |
| 16 void ShowOneClickSigninDialog(Profile* profile, | 16 void ShowOneClickSigninDialog(Profile* profile, |
| 17 const std::string& session_index, |
| 17 const std::string& email, | 18 const std::string& email, |
| 18 const std::string& password); | 19 const std::string& password); |
| 19 | 20 |
| 20 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_DIALOG_H_ | 21 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_DIALOG_H_ |
| OLD | NEW |