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

Unified Diff: chrome/common/net/gaia/gaia_authenticator.cc

Issue 7587009: sync: add DEPS files to subdirs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix include Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/net/gaia/gaia_authenticator.h ('k') | chrome/test/live_sync/live_sessions_sync_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/gaia_authenticator.cc
diff --git a/chrome/common/net/gaia/gaia_authenticator.cc b/chrome/common/net/gaia/gaia_authenticator.cc
index 54d13e048ea8fb3f98cf24b6a07438db1c5e425e..a4e34ff07ac46b2a38ef4187416268e8cb9c8c28 100644
--- a/chrome/common/net/gaia/gaia_authenticator.cc
+++ b/chrome/common/net/gaia/gaia_authenticator.cc
@@ -11,7 +11,6 @@
#include "base/basictypes.h"
#include "base/port.h"
#include "base/string_split.h"
-#include "chrome/common/deprecated/event_sys-inl.h"
#include "chrome/common/net/http_return.h"
#include "googleurl/src/gurl.h"
#include "net/base/escape.h"
@@ -47,13 +46,9 @@ GaiaAuthenticator::GaiaAuthenticator(const string& user_agent,
next_allowed_auth_attempt_time_(0),
early_auth_attempt_count_(0),
message_loop_(NULL) {
- GaiaAuthEvent done = { GaiaAuthEvent::GAIA_AUTHENTICATOR_DESTROYED, None,
- this };
- channel_ = new Channel(done);
}
GaiaAuthenticator::~GaiaAuthenticator() {
- delete channel_;
}
// mutex_ must be entered before calling this function.
@@ -98,13 +93,6 @@ bool GaiaAuthenticator::AuthenticateImpl(const AuthParams& params) {
DCHECK_EQ(MessageLoop::current(), message_loop_);
AuthResults results;
const bool succeeded = AuthenticateImpl(params, &results);
- if (params.request_id == request_count_) {
- auth_results_ = results;
- GaiaAuthEvent event = { succeeded ? GaiaAuthEvent::GAIA_AUTH_SUCCEEDED
- : GaiaAuthEvent::GAIA_AUTH_FAILED,
- results.auth_error, this };
- channel_->NotifyListeners(event);
- }
return succeeded;
}
« no previous file with comments | « chrome/common/net/gaia/gaia_authenticator.h ('k') | chrome/test/live_sync/live_sessions_sync_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698