| OLD | NEW |
| 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/common/net/gaia/gaia_authenticator.h" | 5 #include "google_apis/gaia/gaia_authenticator.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/port.h" | 12 #include "base/port.h" |
| 13 #include "base/string_split.h" | 13 #include "base/string_split.h" |
| 14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
| 15 #include "net/base/escape.h" | 15 #include "net/base/escape.h" |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 | 391 |
| 392 bool GaiaAuthenticator::Authenticate(const string& user_name, | 392 bool GaiaAuthenticator::Authenticate(const string& user_name, |
| 393 const string& password) { | 393 const string& password) { |
| 394 DCHECK_EQ(MessageLoop::current(), message_loop_); | 394 DCHECK_EQ(MessageLoop::current(), message_loop_); |
| 395 const string empty; | 395 const string empty; |
| 396 return Authenticate(user_name, password, empty, | 396 return Authenticate(user_name, password, empty, |
| 397 empty); | 397 empty); |
| 398 } | 398 } |
| 399 | 399 |
| 400 } // namespace gaia | 400 } // namespace gaia |
| OLD | NEW |