OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/signin/core/browser/signin_tracker.h" | 5 #include "components/signin/core/browser/signin_tracker.h" |
6 | 6 |
7 #include "components/signin/core/browser/gaia_cookie_manager_service.h" | 7 #include "components/signin/core/browser/gaia_cookie_manager_service.h" |
8 #include "components/signin/core/browser/profile_oauth2_token_service.h" | 8 #include "components/signin/core/browser/profile_oauth2_token_service.h" |
9 #include "components/signin/core/browser/signin_client.h" | 9 #include "components/signin/core/browser/signin_client.h" |
10 #include "google_apis/gaia/gaia_constants.h" | 10 #include "google_apis/gaia/gaia_constants.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 observer_->SigninSuccess(); | 46 observer_->SigninSuccess(); |
47 } | 47 } |
48 | 48 |
49 void SigninTracker::OnRefreshTokenRevoked(const std::string& account_id) { | 49 void SigninTracker::OnRefreshTokenRevoked(const std::string& account_id) { |
50 NOTREACHED(); | 50 NOTREACHED(); |
51 } | 51 } |
52 | 52 |
53 void SigninTracker::OnAddAccountToCookieCompleted( | 53 void SigninTracker::OnAddAccountToCookieCompleted( |
54 const std::string& account_id, | 54 const std::string& account_id, |
55 const GoogleServiceAuthError& error) { | 55 const GoogleServiceAuthError& error) { |
56 observer_->MergeSessionComplete(error); | 56 observer_->AccountAddedToCookie(error); |
57 } | 57 } |
OLD | NEW |