1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chrome/browser/chromeos/login/auth_response_handler.h" 6 7 namespace chromeos { 8 9 const int kHttpSuccess = 200; 10 const char AuthResponseHandler::kClientLoginUrl[] = 11 "https://www.google.com/accounts/ClientLogin"; 12 const char AuthResponseHandler::kIssueAuthTokenUrl[] = 13 "https://www.google.com/accounts/IssueAuthToken"; 14 // TODO(cmasone): make sure that using an http:// URL in the "continue" 15 // parameter here doesn't open the system up to attack long-term. 16 const char AuthResponseHandler::kTokenAuthUrl[] = 17 "https://www.google.com/accounts/TokenAuth?" 18 "continue=http://www.google.com/webhp&source=chromeos&auth="; 19 20 } // namespace chromeos 21