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

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

Issue 10382077: Update all GAIA URLs to accounts.google.com/... from www.google.com/accounts/... (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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 #if defined(NEW_GSG_URL) 85 #if defined(NEW_GSG_URL)
86 const char kGetStartedOwnerParam[] = "owner"; 86 const char kGetStartedOwnerParam[] = "owner";
87 const char kGetStartedOwnerParamValue[] = "true"; 87 const char kGetStartedOwnerParamValue[] = "true";
88 const char kGetStartedInitialLocaleParam[] = "initial_locale"; 88 const char kGetStartedInitialLocaleParam[] = "initial_locale";
89 #else 89 #else
90 const char kGetStartedOwnerParam[] = "#first"; 90 const char kGetStartedOwnerParam[] = "#first";
91 #endif 91 #endif
92 92
93 // URL for account creation. 93 // URL for account creation.
94 const char kCreateAccountURL[] = 94 const char kCreateAccountURL[] =
95 "https://www.google.com/accounts/NewAccount?service=mail"; 95 "https://accounts.google.com/NewAccount?service=mail";
Nikita (slow) 2012/05/09 06:00:12 This could be as well updated to https://accounts.
zel 2012/05/09 17:52:51 Hmm, .../NewAccount?service=mail does indeed redir
96 96
97 // ChromeVox tutorial URL (used in place of "getting started" url when 97 // ChromeVox tutorial URL (used in place of "getting started" url when
98 // accessibility is enabled). 98 // accessibility is enabled).
99 const char kChromeVoxTutorialURLPattern[] = 99 const char kChromeVoxTutorialURLPattern[] =
100 "http://www.chromevox.com/tutorial/index.html?lang=%s"; 100 "http://www.chromevox.com/tutorial/index.html?lang=%s";
101 101
102 // Delay for transferring the auth cache to the system profile. 102 // Delay for transferring the auth cache to the system profile.
103 const long int kAuthCacheTransferDelayMs = 2000; 103 const long int kAuthCacheTransferDelayMs = 2000;
104 104
105 // Delay for restarting the ui if safe-mode login has failed. 105 // Delay for restarting the ui if safe-mode login has failed.
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 // Invalidate OAuth token, since it can't be correct after password is 866 // Invalidate OAuth token, since it can't be correct after password is
867 // changed. 867 // changed.
868 UserManager::Get()->SaveUserOAuthStatus(username, 868 UserManager::Get()->SaveUserOAuthStatus(username,
869 User::OAUTH_TOKEN_STATUS_INVALID); 869 User::OAUTH_TOKEN_STATUS_INVALID);
870 870
871 login_display_->SetUIEnabled(true); 871 login_display_->SetUIEnabled(true);
872 login_display_->ShowGaiaPasswordChanged(username); 872 login_display_->ShowGaiaPasswordChanged(username);
873 } 873 }
874 874
875 } // namespace chromeos 875 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698