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

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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 const char kGetStartedBoardParam[] = "board"; 76 const char kGetStartedBoardParam[] = "board";
77 77
78 // Parameter to be added to GetStarted URL 78 // Parameter to be added to GetStarted URL
79 // when first user signs in for the first time (OOBE case). 79 // when first user signs in for the first time (OOBE case).
80 const char kGetStartedOwnerParam[] = "owner"; 80 const char kGetStartedOwnerParam[] = "owner";
81 const char kGetStartedOwnerParamValue[] = "true"; 81 const char kGetStartedOwnerParamValue[] = "true";
82 const char kGetStartedInitialLocaleParam[] = "initial_locale"; 82 const char kGetStartedInitialLocaleParam[] = "initial_locale";
83 83
84 // URL for account creation. 84 // URL for account creation.
85 const char kCreateAccountURL[] = 85 const char kCreateAccountURL[] =
86 "https://www.google.com/accounts/NewAccount?service=mail"; 86 "https://accounts.google.com/NewAccount?service=mail";
87 87
88 // ChromeVox tutorial URL (used in place of "getting started" url when 88 // ChromeVox tutorial URL (used in place of "getting started" url when
89 // accessibility is enabled). 89 // accessibility is enabled).
90 const char kChromeVoxTutorialURLPattern[] = 90 const char kChromeVoxTutorialURLPattern[] =
91 "http://www.chromevox.com/tutorial/index.html?lang=%s"; 91 "http://www.chromevox.com/tutorial/index.html?lang=%s";
92 92
93 // Delay for transferring the auth cache to the system profile. 93 // Delay for transferring the auth cache to the system profile.
94 const long int kAuthCacheTransferDelayMs = 2000; 94 const long int kAuthCacheTransferDelayMs = 2000;
95 95
96 // Delay for restarting the ui if safe-mode login has failed. 96 // Delay for restarting the ui if safe-mode login has failed.
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 // Invalidate OAuth token, since it can't be correct after password is 858 // Invalidate OAuth token, since it can't be correct after password is
859 // changed. 859 // changed.
860 UserManager::Get()->SaveUserOAuthStatus(username, 860 UserManager::Get()->SaveUserOAuthStatus(username,
861 User::OAUTH_TOKEN_STATUS_INVALID); 861 User::OAUTH_TOKEN_STATUS_INVALID);
862 862
863 login_display_->SetUIEnabled(true); 863 login_display_->SetUIEnabled(true);
864 login_display_->ShowGaiaPasswordChanged(username); 864 login_display_->ShowGaiaPasswordChanged(username);
865 } 865 }
866 866
867 } // namespace chromeos 867 } // 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