summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/login/auth_response_handler.cc
diff options
context:
space:
mode:
authorcmasone@google.com <cmasone@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-01 20:47:09 +0000
committercmasone@google.com <cmasone@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-01 20:47:09 +0000
commit82e1e1135c3565a0064761d8a4d919d414446d99 (patch)
treee8a706db2fb3a41d304404402259687ace4a7f22 /chrome/browser/chromeos/login/auth_response_handler.cc
parent60a0438e453b5006cff34972df6188e2fb4e02ce (diff)
downloadchromium_src-82e1e1135c3565a0064761d8a4d919d414446d99.zip
chromium_src-82e1e1135c3565a0064761d8a4d919d414446d99.tar.gz
chromium_src-82e1e1135c3565a0064761d8a4d919d414446d99.tar.bz2
Move fetching of full-fledged auth cookies to a time when we have the user's real profile available. Also, enable the use of a localaccount on Chrome OS
many of the changes here are just callsite fixes, because I changed the signature of a function. I also moved my code into the chromeos namespace, which accounts for several other files. The important stuff is in: 1) google_authenticator* 2) cookie_fetcher* 3) login_utils.cc Review URL: http://codereview.chromium.org/1515003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43382 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/login/auth_response_handler.cc')
-rw-r--r--chrome/browser/chromeos/login/auth_response_handler.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/login/auth_response_handler.cc b/chrome/browser/chromeos/login/auth_response_handler.cc
index fea29af..d1d3708 100644
--- a/chrome/browser/chromeos/login/auth_response_handler.cc
+++ b/chrome/browser/chromeos/login/auth_response_handler.cc
@@ -4,6 +4,9 @@
#include "chrome/browser/chromeos/login/auth_response_handler.h"
+namespace chromeos {
+
+const int kHttpSuccess = 200;
const char AuthResponseHandler::kClientLoginUrl[] =
"https://www.google.com/accounts/ClientLogin";
const char AuthResponseHandler::kIssueAuthTokenUrl[] =
@@ -13,3 +16,5 @@ const char AuthResponseHandler::kIssueAuthTokenUrl[] =
const char AuthResponseHandler::kTokenAuthUrl[] =
"https://www.google.com/accounts/TokenAuth?"
"continue=http://www.google.com/webhp&source=chromeos&auth=";
+
+} // namespace chromeos