From 7f82b2fbcad552ff78d0498911ec0bdce24f15b6 Mon Sep 17 00:00:00 2001 From: "cmasone@chromium.org" Date: Fri, 29 Oct 2010 22:45:24 +0000 Subject: Merge 64085 - [Chrome OS] Pass Google accounts password to sync On Chrome OS, we initialize the master password used with password sync to the user's Google accounts password. I believe this can be changed via the UI. BUG=chromium-os:7986,chromium-os:8416 TEST=unit tests, also installed on two devices and verified that a password I asked it to save synced. Review URL: http://codereview.chromium.org/4200001 TBR=zelidrag@chromium.org Review URL: http://codereview.chromium.org/4208006 git-svn-id: svn://svn.chromium.org/chrome/branches/552/src@64509 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/browser_main.cc') diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 848864c..ea90522 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -782,9 +782,10 @@ class StubLogin : public chromeos::LoginStatusConsumer { } void OnLoginSuccess(const std::string& username, + const std::string& password, const GaiaAuthConsumer::ClientLoginResult& credentials, bool pending_requests) { - chromeos::LoginUtils::Get()->CompleteLogin(username, credentials); + chromeos::LoginUtils::Get()->CompleteLogin(username, password, credentials); delete this; } -- cgit v1.1