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

Side by Side Diff: chrome/browser/chromeos/login/existing_user_controller.cc

Issue 10411025: Reverted 136345 - Ran into GAIA dosserver issues in prod for http://accounts.google.com. We are goi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 (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 #include "chrome/browser/chromeos/login/existing_user_controller.h" 5 #include "chrome/browser/chromeos/login/existing_user_controller.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 const char kGetStartedBoardParam[] = "board"; 77 const char kGetStartedBoardParam[] = "board";
78 78
79 // Parameter to be added to GetStarted URL 79 // Parameter to be added to GetStarted URL
80 // when first user signs in for the first time (OOBE case). 80 // when first user signs in for the first time (OOBE case).
81 const char kGetStartedOwnerParam[] = "owner"; 81 const char kGetStartedOwnerParam[] = "owner";
82 const char kGetStartedOwnerParamValue[] = "true"; 82 const char kGetStartedOwnerParamValue[] = "true";
83 const char kGetStartedInitialLocaleParam[] = "initial_locale"; 83 const char kGetStartedInitialLocaleParam[] = "initial_locale";
84 84
85 // URL for account creation. 85 // URL for account creation.
86 const char kCreateAccountURL[] = 86 const char kCreateAccountURL[] =
87 "https://accounts.google.com/NewAccount?service=mail"; 87 "https://www.google.com/accounts/NewAccount?service=mail";
88 88
89 // ChromeVox tutorial URL (used in place of "getting started" url when 89 // ChromeVox tutorial URL (used in place of "getting started" url when
90 // accessibility is enabled). 90 // accessibility is enabled).
91 const char kChromeVoxTutorialURLPattern[] = 91 const char kChromeVoxTutorialURLPattern[] =
92 "http://www.chromevox.com/tutorial/index.html?lang=%s"; 92 "http://www.chromevox.com/tutorial/index.html?lang=%s";
93 93
94 // Delay for transferring the auth cache to the system profile. 94 // Delay for transferring the auth cache to the system profile.
95 const long int kAuthCacheTransferDelayMs = 2000; 95 const long int kAuthCacheTransferDelayMs = 2000;
96 96
97 // Delay for restarting the ui if safe-mode login has failed. 97 // Delay for restarting the ui if safe-mode login has failed.
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 // Invalidate OAuth token, since it can't be correct after password is 863 // Invalidate OAuth token, since it can't be correct after password is
864 // changed. 864 // changed.
865 UserManager::Get()->SaveUserOAuthStatus(username, 865 UserManager::Get()->SaveUserOAuthStatus(username,
866 User::OAUTH_TOKEN_STATUS_INVALID); 866 User::OAUTH_TOKEN_STATUS_INVALID);
867 867
868 login_display_->SetUIEnabled(true); 868 login_display_->SetUIEnabled(true);
869 login_display_->ShowGaiaPasswordChanged(username); 869 login_display_->ShowGaiaPasswordChanged(username);
870 } 870 }
871 871
872 } // namespace chromeos 872 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/app/resources/terms/terms_sw.html ('k') | chrome/browser/chromeos/login/mock_url_fetchers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698