| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/logging.h" |
| 7 #include "chrome/browser/sync/notifier/gaia_auth/gaiaauth.h" | 8 #include "chrome/browser/sync/notifier/gaia_auth/gaiaauth.h" |
| 8 #include "talk/base/asynchttprequest.h" | 9 #include "talk/base/asynchttprequest.h" |
| 9 #include "talk/base/firewallsocketserver.h" | 10 #include "talk/base/firewallsocketserver.h" |
| 10 #include "talk/base/httpclient.h" | 11 #include "talk/base/httpclient.h" |
| 11 #include "talk/base/logging.h" | |
| 12 #include "talk/base/physicalsocketserver.h" | 12 #include "talk/base/physicalsocketserver.h" |
| 13 #include "talk/base/signalthread.h" | 13 #include "talk/base/signalthread.h" |
| 14 #include "talk/base/socketadapters.h" | 14 #include "talk/base/socketadapters.h" |
| 15 #include "talk/base/socketpool.h" | 15 #include "talk/base/socketpool.h" |
| 16 #include "talk/base/stringutils.h" | 16 #include "talk/base/stringutils.h" |
| 17 #include "talk/base/urlencode.h" | 17 #include "talk/base/urlencode.h" |
| 18 #include "talk/xmpp/saslcookiemechanism.h" | 18 #include "talk/xmpp/saslcookiemechanism.h" |
| 19 #include "talk/xmpp/saslplainmechanism.h" | 19 #include "talk/xmpp/saslplainmechanism.h" |
| 20 | 20 |
| 21 namespace buzz { | 21 namespace buzz { |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 } | 431 } |
| 432 | 432 |
| 433 buzz::CaptchaChallenge GaiaAuth::GetCaptchaChallenge() { | 433 buzz::CaptchaChallenge GaiaAuth::GetCaptchaChallenge() { |
| 434 if (!done_ || worker_->Succeeded()) { | 434 if (!done_ || worker_->Succeeded()) { |
| 435 return buzz::CaptchaChallenge(); | 435 return buzz::CaptchaChallenge(); |
| 436 } | 436 } |
| 437 return worker_->GetCaptchaChallenge(); | 437 return worker_->GetCaptchaChallenge(); |
| 438 } | 438 } |
| 439 | 439 |
| 440 } // namespace buzz | 440 } // namespace buzz |
| OLD | NEW |