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 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_ABOUT_SIGNIN_INTERNALS_H_ | 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_ABOUT_SIGNIN_INTERNALS_H_ |
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_ABOUT_SIGNIN_INTERNALS_H_ | 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_ABOUT_SIGNIN_INTERNALS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // { "title": account id, | 140 // { "title": account id, |
141 // "data": [List of {"service" : service name, | 141 // "data": [List of {"service" : service name, |
142 // "scopes" : requested scoped, | 142 // "scopes" : requested scoped, |
143 // "request_time" : request time, | 143 // "request_time" : request time, |
144 // "status" : request status} elems] | 144 // "status" : request status} elems] |
145 // }], | 145 // }], |
146 // } | 146 // } |
147 scoped_ptr<base::DictionaryValue> ToValue( | 147 scoped_ptr<base::DictionaryValue> ToValue( |
148 AccountTrackerService* account_tracker, | 148 AccountTrackerService* account_tracker, |
149 SigninManagerBase* signin_manager, | 149 SigninManagerBase* signin_manager, |
| 150 ProfileOAuth2TokenService* token_service, |
150 const std::string& product_version); | 151 const std::string& product_version); |
151 }; | 152 }; |
152 | 153 |
153 // SigninManager::SigninDiagnosticsObserver implementation. | 154 // SigninManager::SigninDiagnosticsObserver implementation. |
154 void NotifySigninValueChanged( | 155 void NotifySigninValueChanged( |
155 const signin_internals_util::TimedSigninStatusField& field, | 156 const signin_internals_util::TimedSigninStatusField& field, |
156 const std::string& value) override; | 157 const std::string& value) override; |
157 | 158 |
158 // OAuth2TokenService::DiagnosticsObserver implementations. | 159 // OAuth2TokenService::DiagnosticsObserver implementations. |
159 void OnAccessTokenRequested( | 160 void OnAccessTokenRequested( |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 | 213 |
213 ObserverList<Observer> signin_observers_; | 214 ObserverList<Observer> signin_observers_; |
214 | 215 |
215 scoped_ptr<SigninClient::CookieChangedSubscription> | 216 scoped_ptr<SigninClient::CookieChangedSubscription> |
216 cookie_changed_subscription_; | 217 cookie_changed_subscription_; |
217 | 218 |
218 DISALLOW_COPY_AND_ASSIGN(AboutSigninInternals); | 219 DISALLOW_COPY_AND_ASSIGN(AboutSigninInternals); |
219 }; | 220 }; |
220 | 221 |
221 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_ABOUT_SIGNIN_INTERNALS_H_ | 222 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_ABOUT_SIGNIN_INTERNALS_H_ |
OLD | NEW |