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

Side by Side Diff: google_apis/gaia/identity_provider.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « google_apis/gaia/account_tracker.h ('k') | google_apis/gaia/oauth2_token_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef GOOGLE_APIS_GAIA_IDENTITY_PROVIDER_H_ 5 #ifndef GOOGLE_APIS_GAIA_IDENTITY_PROVIDER_H_
6 #define GOOGLE_APIS_GAIA_IDENTITY_PROVIDER_H_ 6 #define GOOGLE_APIS_GAIA_IDENTITY_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 protected: 76 protected:
77 IdentityProvider(); 77 IdentityProvider();
78 78
79 // Fires an OnActiveAccountLogin notification. 79 // Fires an OnActiveAccountLogin notification.
80 void FireOnActiveAccountLogin(); 80 void FireOnActiveAccountLogin();
81 81
82 // Fires an OnActiveAccountLogout notification. 82 // Fires an OnActiveAccountLogout notification.
83 void FireOnActiveAccountLogout(); 83 void FireOnActiveAccountLogout();
84 84
85 private: 85 private:
86 ObserverList<Observer, true> observers_; 86 base::ObserverList<Observer, true> observers_;
87 ObserverList<OAuth2TokenService::Observer, true> token_service_observers_; 87 base::ObserverList<OAuth2TokenService::Observer, true>
88 token_service_observers_;
88 int token_service_observer_count_; 89 int token_service_observer_count_;
89 90
90 DISALLOW_COPY_AND_ASSIGN(IdentityProvider); 91 DISALLOW_COPY_AND_ASSIGN(IdentityProvider);
91 }; 92 };
92 93
93 #endif // GOOGLE_APIS_GAIA_IDENTITY_PROVIDER_H_ 94 #endif // GOOGLE_APIS_GAIA_IDENTITY_PROVIDER_H_
OLDNEW
« no previous file with comments | « google_apis/gaia/account_tracker.h ('k') | google_apis/gaia/oauth2_token_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698